diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-01-11 09:07:52 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-01-11 09:07:52 +0100 |
commit | 179df9df68396a6916f62192971838b7e73d5f76 (patch) | |
tree | c6d27a4056ed56432f34247510788c50eca4c8d1 /railties | |
parent | 72c801476bb3bb73232633bc4d09f0cbeba94544 (diff) | |
parent | a2338c583349ebd48f3c9ec18f1df5c7cf21dfdb (diff) | |
download | rails-179df9df68396a6916f62192971838b7e73d5f76.tar.gz rails-179df9df68396a6916f62192971838b7e73d5f76.tar.bz2 rails-179df9df68396a6916f62192971838b7e73d5f76.zip |
Merge pull request #23003 from y-yagi/remove_warnings
remove warnings from rake test
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/application/rake_test.rb | 4 |
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 |