Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ensure time does not change in interceptor test

  • Loading branch information...
commit 419ee2a6ff84de579128c2b4a35d23810ff6d0a7 1 parent b80ff2a
@jhawthorn authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  test/dkim/interceptor_test.rb
View
3  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)
Please sign in to comment.
Something went wrong with that request. Please try again.