aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
Diffstat (limited to 'railties')
-rw-r--r--railties/test/application/rake_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/rake_test.rb b/railties/test/application/rake_test.rb
index 5ea4b28acb..639875dd6e 100644
--- a/railties/test/application/rake_test.rb
+++ b/railties/test/application/rake_test.rb
@@ -30,7 +30,7 @@ module ApplicationTests
env RAILS_ENV=production bin/rake db:create db:migrate;
env RAILS_ENV=production bin/rake db:test:prepare test 2>&1`
- assert_match /ActiveRecord::ProtectedEnvironmentError/, output
+ assert_match(/ActiveRecord::ProtectedEnvironmentError/, output)
end
end
@@ -40,7 +40,7 @@ module ApplicationTests
env RAILS_ENV=test bin/rake db:create db:migrate;
env RAILS_ENV=test bin/rake db:test:prepare test 2>&1`
- refute_match /ActiveRecord::ProtectedEnvironmentError/, output
+ refute_match(/ActiveRecord::ProtectedEnvironmentError/, output)
end
end