A couple more tests for periods at start/end of folder name

This commit is contained in:
Mark McDowall 2014-09-02 21:44:02 -07:00
parent b9ff97fe9f
commit 044d5ad0a5
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ namespace NzbDrone.Core.Test.OrganizerTests
[TestCase("30 Rock", "{Series.Title}", "30.Rock")]
[TestCase("24/7 Road to the NHL Winter Classic", "{Series Title}", "24+7 Road to the NHL Winter Classic")]
[TestCase("Venture Bros.", "{Series.Title}", "Venture.Bros")]
[TestCase(".hack", "{Series.Title}", "hack")]
[TestCase("30 Rock", ".{Series.Title}.", "30.Rock")]
public void should_use_seriesFolderFormat_to_build_folder_name(String seriesTitle, String format, String expected)
{
namingConfig.SeriesFolderFormat = format;