You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
654 B
24 lines
654 B
using FluentAssertions;
|
|
using NUnit.Framework;
|
|
using NzbDrone.Core.Parser.Augmenters;
|
|
using NzbDrone.Core.Parser.Model;
|
|
|
|
namespace NzbDrone.Core.Test.ParserTests.ParsingServiceTests.AugmentersTests
|
|
{
|
|
[TestFixture]
|
|
public class AugmentWithFileSizeFixture : AugmentMovieInfoFixture<AugmentWithFileSize>
|
|
{
|
|
[Test]
|
|
public void should_add_file_size()
|
|
{
|
|
var localMovie = new LocalMovie
|
|
{
|
|
Size = 1500
|
|
};
|
|
|
|
var movieInfo = Subject.AugmentMovieInfo(MovieInfo, localMovie);
|
|
movieInfo.ExtraInfo["Size"].Should().BeEquivalentTo(1500);
|
|
}
|
|
}
|
|
}
|