diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-04-04 18:19:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-04 18:19:35 -0400 |
commit | fe4e9d4c5d82806fdaf28c87c731132f81f0ac3e (patch) | |
tree | 7d96907def4d04a69495206f6e806c0590ad835e /railties/test/application | |
parent | 826b17cd8a4f0416fd6b8451199fd0f1fa20f417 (diff) | |
parent | c1ceafc9d128b430f27d43d98369683c59c33021 (diff) | |
download | rails-fe4e9d4c5d82806fdaf28c87c731132f81f0ac3e.tar.gz rails-fe4e9d4c5d82806fdaf28c87c731132f81f0ac3e.tar.bz2 rails-fe4e9d4c5d82806fdaf28c87c731132f81f0ac3e.zip |
Merge pull request #32441 from composerinteralia/refute-not
Add custom RuboCop for `assert_not` over `refute`
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/rake_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/rake_test.rb b/railties/test/application/rake_test.rb index 9683230d07..d94caf5fe0 100644 --- a/railties/test/application/rake_test.rb +++ b/railties/test/application/rake_test.rb @@ -41,7 +41,7 @@ module ApplicationTests rails "db:create", "db:migrate" output = rails("db:test:prepare", "test") - refute_match(/ActiveRecord::ProtectedEnvironmentError/, output) + assert_no_match(/ActiveRecord::ProtectedEnvironmentError/, output) end end |