aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorDavid Chelimsky <dchelimsky@gmail.com>2010-02-21 11:19:23 -0600
committerJosé Valim <jose.valim@gmail.com>2010-02-22 09:15:27 +0100
commita6684eeb786663839cf383ea54b681d429a83177 (patch)
tree24f98399774af3dee600134398c40ceb59e0b703 /railties/lib
parent6fa2bbfd10fde99f4e3a36292438fb666079029a (diff)
downloadrails-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.rb1
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