diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-09-16 12:47:52 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-09-16 12:47:52 +0100 |
commit | 38e4d877abee3c8e40edd932057e2bf16ad01e13 (patch) | |
tree | d2201a1c18fbebec4e0594b81c27974057e886b2 /test | |
parent | f63d7076e52a8844f1cfe43e57330687d88e83b6 (diff) |
Big documentation update.
Diffstat (limited to 'test')
-rw-r--r-- | test/tc_mauve_notification.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tc_mauve_notification.rb b/test/tc_mauve_notification.rb index 4243874..0b3bc04 100644 --- a/test/tc_mauve_notification.rb +++ b/test/tc_mauve_notification.rb @@ -39,12 +39,12 @@ class TcMauveDuringRunner < Mauve::UnitTest def test_now? alert = Alert.new time = Time.now - during = Proc.new { @test_time } + during = Proc.new { Time.now == @test_time } dr = DuringRunner.new(time, alert, &during) - assert_equal(time, dr.now?) - assert_equal(time+3600, dr.now?(time+3600)) + assert_equal(true, dr.now?) + assert_equal(false, dr.now?(time+3600)) assert_equal(time, dr.time) end |