aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-04-03 22:49:30 +0530
committerVipul A M <vipulnsward@gmail.com>2013-04-03 23:25:46 +0530
commit2282964de77eae623284c2cd47cb2f21045b290f (patch)
treec3f5838623390f8d88875c55e71a01eef6fcb570 /railties/test
parentdb924e1257f37dff441fee7c6e2bbd8ba382d7a6 (diff)
downloadrails-2282964de77eae623284c2cd47cb2f21045b290f.tar.gz
rails-2282964de77eae623284c2cd47cb2f21045b290f.tar.bz2
rails-2282964de77eae623284c2cd47cb2f21045b290f.zip
Fix some railties test warnings
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/generators/plugin_new_generator_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/plugin_new_generator_test.rb b/railties/test/generators/plugin_new_generator_test.rb
index 48425cbf81..ac71fb5884 100644
--- a/railties/test/generators/plugin_new_generator_test.rb
+++ b/railties/test/generators/plugin_new_generator_test.rb
@@ -124,7 +124,7 @@ class PluginNewGeneratorTest < Rails::Generators::TestCase
run_generator [destination_root, "--skip_active_record"]
assert_no_file "test/dummy/config/database.yml"
assert_file "test/test_helper.rb" do |contents|
- assert_no_match /ActiveRecord/, contents
+ assert_no_match(/ActiveRecord/, contents)
end
end