diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-06 11:01:23 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-06 11:01:23 +0000 |
commit | 50debfa96c8e78232b32e4738d60da0c302fe1ef (patch) | |
tree | 2ca09909366e171efa90ed0d11e80af6c732948b /railties | |
parent | b70e2db64af856b46571c66877762837a0f3a95a (diff) | |
download | rails-50debfa96c8e78232b32e4738d60da0c302fe1ef.tar.gz rails-50debfa96c8e78232b32e4738d60da0c302fe1ef.tar.bz2 rails-50debfa96c8e78232b32e4738d60da0c302fe1ef.zip |
Dont encode the default subject for the test cases since they are within the ascii range
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-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 |