Also revert mailer generator test changes in 8b50f89

This commit is contained in:
Jeremy Kemper 2010-03-21 16:18:32 -07:00
parent 49416550fe
commit 4884f28c80
1 changed files with 2 additions and 2 deletions

View File

@ -36,12 +36,12 @@ class MailerGeneratorTest < Rails::Generators::TestCase
def test_invokes_default_template_engine def test_invokes_default_template_engine
run_generator run_generator
assert_file "app/views/notifier/foo.text.erb" do |view| 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 assert_match /<%= @greeting %>/, view
end end
assert_file "app/views/notifier/bar.text.erb" do |view| 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 assert_match /<%= @greeting %>/, view
end end
end end