diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-18 07:27:19 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-18 07:27:19 -0700 |
commit | f7df1f8bf3d0c5307a75f3808e65851010b82450 (patch) | |
tree | 9fdee4f56bee252783bc1631ca9028d00e6d0aef /railties/test/generators/actions_test.rb | |
parent | 505defc27ead21c3bab05aa0cde11dddfbd0d179 (diff) | |
parent | cce461511bde8f86aa6f82775320070ccc688273 (diff) | |
download | rails-f7df1f8bf3d0c5307a75f3808e65851010b82450.tar.gz rails-f7df1f8bf3d0c5307a75f3808e65851010b82450.tar.bz2 rails-f7df1f8bf3d0c5307a75f3808e65851010b82450.zip |
Merge pull request #1124 from amatsuda/fix_railties_warnings
Fix railties warnings
Diffstat (limited to 'railties/test/generators/actions_test.rb')
-rw-r--r-- | railties/test/generators/actions_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/actions_test.rb b/railties/test/generators/actions_test.rb index 68d4c17623..597746c4aa 100644 --- a/railties/test/generators/actions_test.rb +++ b/railties/test/generators/actions_test.rb @@ -118,8 +118,8 @@ class ActionsTest < Rails::Generators::TestCase end assert_file 'config/application.rb' do |content| - assert_match /# This will be added/, content - assert_no_match /# This wont be added/, content + assert_match(/# This will be added/, content) + assert_no_match(/# This wont be added/, content) end end |