Skip to content

Commit

Permalink
Also revert mailer generator test changes in 8b50f89
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Mar 21, 2010
1 parent 4941655 commit 4884f28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/test/generators/mailer_generator_test.rb
Expand Up @@ -36,12 +36,12 @@ def test_invokes_default_test_framework
def test_invokes_default_template_engine
run_generator
assert_file "app/views/notifier/foo.text.erb" do |view|
assert_match /app\/views\/notifier\/foo$/, view
assert_match %r(app/views/notifier/foo\.text\.erb), view
assert_match /<%= @greeting %>/, view
end

assert_file "app/views/notifier/bar.text.erb" do |view|
assert_match /app\/views\/notifier\/bar$/, view
assert_match %r(app/views/notifier/bar\.text\.erb), view
assert_match /<%= @greeting %>/, view
end
end
Expand Down

0 comments on commit 4884f28

Please sign in to comment.