diff options
-rw-r--r-- | railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb b/railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb index 9af5ef29c2..0512cad5fa 100644 --- a/railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb +++ b/railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb @@ -18,7 +18,7 @@ class <%= class_name %>Test < Test::Unit::TestCase <% for action in actions -%> def test_<%= action %> - @expected.subject = encode '<%= class_name %>#<%= action %>' + @expected.subject = '<%= class_name %>#<%= action %>' @expected.body = read_fixture('<%= action %>') @expected.date = Time.now |