aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/cache/behaviors/failure_safety_behavior.rb
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-04-19 23:25:39 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-04-19 23:25:39 +0300
commit1a42d87e3b7d90f2a5cb0d8bc6c54a27fbf022a5 (patch)
treeecf74c7cfc4136c1694297fb6c728bf82df4d5f7 /activesupport/test/cache/behaviors/failure_safety_behavior.rb
parent8bdf50d5158d84e4b6ee9edc463873d464732fbe (diff)
downloadrails-1a42d87e3b7d90f2a5cb0d8bc6c54a27fbf022a5.tar.gz
rails-1a42d87e3b7d90f2a5cb0d8bc6c54a27fbf022a5.tar.bz2
rails-1a42d87e3b7d90f2a5cb0d8bc6c54a27fbf022a5.zip
Allow rubocop check more files
This commit fix pattern of filenames for `CustomCops/AssertNot` and `CustomCops/RefuteNot`. rubocop should check every file under `test/`. Related to #32441, #32605
Diffstat (limited to 'activesupport/test/cache/behaviors/failure_safety_behavior.rb')
-rw-r--r--activesupport/test/cache/behaviors/failure_safety_behavior.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/cache/behaviors/failure_safety_behavior.rb b/activesupport/test/cache/behaviors/failure_safety_behavior.rb
index 53bda4f942..43b67d81db 100644
--- a/activesupport/test/cache/behaviors/failure_safety_behavior.rb
+++ b/activesupport/test/cache/behaviors/failure_safety_behavior.rb
@@ -63,7 +63,7 @@ module FailureSafetyBehavior
@cache.write("foo", "bar")
emulating_unavailability do |cache|
- assert !cache.exist?("foo")
+ assert_not cache.exist?("foo")
end
end