Fixed: Issues with Custom Start Date

This commit is contained in:
Mark McDowall
2012-10-18 11:50:52 -07:00
parent d25da21e58
commit 40accd835b
3 changed files with 11 additions and 1 deletions
@@ -141,5 +141,12 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
WithFirstEpisodeLastYear();
_customStartDateSpecification.IsSatisfiedBy(parseResultSingle).Should().BeFalse();
}
[Test]
public void should_return_true_if_episode_airs_the_same_day_as_the_cutoff()
{
fakeSeries.CustomStartDate = DateTime.Today;
_customStartDateSpecification.IsSatisfiedBy(parseResultSingle).Should().BeTrue();
}
}
}