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:
commit
179df9df68
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue