diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-21 16:05:35 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-21 16:07:21 -0700 |
commit | 49416550fe6f0165423ff6c64161b0a3bd4d5ea7 (patch) | |
tree | 5391779894e6ad9eae3e673476d8538d0cdf0889 /railties/test/generators | |
parent | b7adec3563c18247db85ddae189c0b2fd65975a9 (diff) | |
download | rails-49416550fe6f0165423ff6c64161b0a3bd4d5ea7.tar.gz rails-49416550fe6f0165423ff6c64161b0a3bd4d5ea7.tar.bz2 rails-49416550fe6f0165423ff6c64161b0a3bd4d5ea7.zip |
Fix regression introduced in 8b50f89. Generated views mentioned the wrong path.
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/controller_generator_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/controller_generator_test.rb b/railties/test/generators/controller_generator_test.rb index 14773373af..8434a44ed2 100644 --- a/railties/test/generators/controller_generator_test.rb +++ b/railties/test/generators/controller_generator_test.rb @@ -49,8 +49,8 @@ class ControllerGeneratorTest < Rails::Generators::TestCase def test_invokes_default_template_engine run_generator - assert_file "app/views/account/foo.html.erb", /app\/views\/account\/foo/ - assert_file "app/views/account/bar.html.erb", /app\/views\/account\/bar/ + assert_file "app/views/account/foo.html.erb", %r(app/views/account/foo\.html\.erb) + assert_file "app/views/account/bar.html.erb", %r(app/views/account/bar\.html\.erb) end def test_add_routes |