Permalink
Browse files

ensure time does not change in interceptor test

  • Loading branch information...
1 parent b80ff2a commit 419ee2a6ff84de579128c2b4a35d23810ff6d0a7 @jhawthorn committed May 21, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 test/dkim/interceptor_test.rb
@@ -40,6 +40,9 @@ class InterceptorTest < MiniTest::Unit::TestCase
def setup
@original_options = Dkim.options.dup
+ # ensure time does not change
+ Dkim.time = Time.now
+
mail = EXAMPLEEMAIL.dup
@mail = Mail.new(mail)

0 comments on commit 419ee2a

Please sign in to comment.