Permalink
Browse files

Dont encode the default subject for the test cases since they are wit…

…hin the ascii range

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent b70e2db commit 50debfa96c8e78232b32e4738d60da0c302fe1ef @dhh dhh committed Sep 6, 2005
View
2 railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb
@@ -18,7 +18,7 @@ def setup
<% 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

0 comments on commit 50debfa

Please sign in to comment.