diff options
author | David Chelimsky <dchelimsky@gmail.com> | 2010-02-21 11:19:23 -0600 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-02-22 09:15:27 +0100 |
commit | a6684eeb786663839cf383ea54b681d429a83177 (patch) | |
tree | 24f98399774af3dee600134398c40ceb59e0b703 /railties/lib | |
parent | 6fa2bbfd10fde99f4e3a36292438fb666079029a (diff) | |
download | rails-a6684eeb786663839cf383ea54b681d429a83177.tar.gz rails-a6684eeb786663839cf383ea54b681d429a83177.tar.bz2 rails-a6684eeb786663839cf383ea54b681d429a83177.zip |
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>
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/generators/test_unit/mailer/templates/functional_test.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/railties/lib/generators/test_unit/mailer/templates/functional_test.rb b/railties/lib/generators/test_unit/mailer/templates/functional_test.rb index e1aeb2db90..a2b1f1ed05 100644 --- a/railties/lib/generators/test_unit/mailer/templates/functional_test.rb +++ b/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 |