Skip to content
Browse files

don't set @expected.date in generated mailer test

Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 6fa2bbf commit a6684eeb786663839cf383ea54b681d429a83177 @dchelimsky dchelimsky committed with josevalim Feb 21, 2010
Showing with 0 additions and 1 deletion.
  1. +0 −1 railties/lib/generators/test_unit/mailer/templates/functional_test.rb
View
1 railties/lib/generators/test_unit/mailer/templates/functional_test.rb
@@ -7,7 +7,6 @@ class <%= class_name %>Test < ActionMailer::TestCase
@expected.to = "to@example.org"
@expected.from = "from@example.com"
@expected.body = read_fixture("<%= action %>")
- @expected.date = Time.now
assert_equal @expected, <%= class_name %>.<%= action %>
end

0 comments on commit a6684ee

Please sign in to comment.
Something went wrong with that request. Please try again.