Permalink
Browse files

Also revert mailer generator test changes in 8b50f89

  • Loading branch information...
1 parent 4941655 commit 4884f28c8035f98b6cacd68e6476254f553ae020 @jeremy jeremy committed Mar 21, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/test/generators/mailer_generator_test.rb
@@ -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

0 comments on commit 4884f28

Please sign in to comment.