moved naming specification out of general config.

This commit is contained in:
kay.one 2013-03-06 13:20:33 -08:00
commit dce64a5530
23 changed files with 535 additions and 463 deletions

View file

@ -4,6 +4,7 @@ using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.Organizer;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Test.Framework;
@ -17,7 +18,7 @@ namespace NzbDrone.Core.Test.MediaFileTests
[TestCase("Law & Order: Criminal Intent - S10E07 - Icarus [HDTV-720p]", "Law & Order- Criminal Intent - S10E07 - Icarus [HDTV-720p]")]
public void CleanFileName(string name, string expectedName)
{
MediaFileService.CleanFilename(name).Should().Be(expectedName);
FileNameBuilder.CleanFilename(name).Should().Be(expectedName);
}
[Test]