1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #23003 from y-yagi/remove_warnings

remove warnings from rake test
This commit is contained in:
Kasper Timm Hansen 2016-01-11 09:07:52 +01:00
commit 179df9df68

View file

@ -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