aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDaniel Colson <danieljamescolson@gmail.com>2018-04-03 21:34:51 -0400
committerDaniel Colson <danieljamescolson@gmail.com>2018-04-03 22:35:49 -0400
commitc1ceafc9d128b430f27d43d98369683c59c33021 (patch)
tree119aac63e2ff8970d18ef9e8d641a2c0c3e458f1 /railties
parentf88f5a457cb95dc22519aa33b527a73f198e92e8 (diff)
downloadrails-c1ceafc9d128b430f27d43d98369683c59c33021.tar.gz
rails-c1ceafc9d128b430f27d43d98369683c59c33021.tar.bz2
rails-c1ceafc9d128b430f27d43d98369683c59c33021.zip
Autocorrect `refute` RuboCop violations
73e7aab behaved as expected on codeship, failing the build with exactly these RuboCop violations. Hopefully `rubocop -a` will have been enough to get a passing build!
Diffstat (limited to 'railties')
-rw-r--r--railties/test/application/rake_test.rb2
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