diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-21 16:18:32 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-21 16:18:32 -0700 |
commit | 4884f28c8035f98b6cacd68e6476254f553ae020 (patch) | |
tree | 65cd9138d11a9b8280f5e890ccc4dfd26a1f220f | |
parent | 49416550fe6f0165423ff6c64161b0a3bd4d5ea7 (diff) | |
download | rails-4884f28c8035f98b6cacd68e6476254f553ae020.tar.gz rails-4884f28c8035f98b6cacd68e6476254f553ae020.tar.bz2 rails-4884f28c8035f98b6cacd68e6476254f553ae020.zip |
Also revert mailer generator test changes in 8b50f89
-rw-r--r-- | railties/test/generators/mailer_generator_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/mailer_generator_test.rb b/railties/test/generators/mailer_generator_test.rb index abbca5852b..47c0b1186b 100644 --- a/railties/test/generators/mailer_generator_test.rb +++ b/railties/test/generators/mailer_generator_test.rb @@ -36,12 +36,12 @@ class MailerGeneratorTest < Rails::Generators::TestCase 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 |