From d111be17ad44799b6cb989b3a782c9f2291c89cc Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 3 Nov 2013 22:44:35 -0800 Subject: [PATCH] Fixed broken sample tests --- .../Specifications/NotSampleSpecificationFixture.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotSampleSpecificationFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotSampleSpecificationFixture.cs index e6c6d0ad1..62c610bbf 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotSampleSpecificationFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/NotSampleSpecificationFixture.cs @@ -99,6 +99,8 @@ public void should_not_run_runtime_check_on_linux() [Test] public void should_run_runtime_check_on_windows() { + WindowsOnly(); + GivenRuntime(120); GivenFileSize(1000.Megabytes()); @@ -110,6 +112,7 @@ public void should_run_runtime_check_on_windows() [Test] public void should_return_false_if_runtime_is_less_than_minimum() { + WindowsOnly(); GivenRuntime(60); Subject.IsSatisfiedBy(_localEpisode).Should().BeFalse(); @@ -118,6 +121,7 @@ public void should_return_false_if_runtime_is_less_than_minimum() [Test] public void should_return_true_if_runtime_greater_than_than_minimum() { + WindowsOnly(); GivenRuntime(120); Subject.IsSatisfiedBy(_localEpisode).Should().BeTrue();