aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/flash_hash_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/flash_hash_test.rb')
-rw-r--r--actionpack/test/controller/flash_hash_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/controller/flash_hash_test.rb b/actionpack/test/controller/flash_hash_test.rb
index fd0d147cba..6c3ac26de1 100644
--- a/actionpack/test/controller/flash_hash_test.rb
+++ b/actionpack/test/controller/flash_hash_test.rb
@@ -92,11 +92,11 @@ module ActionDispatch
end
def test_empty?
- assert_predicate @hash, :empty?
+ assert_empty @hash
@hash["zomg"] = "bears"
- assert_not_predicate @hash, :empty?
+ assert_not_empty @hash
@hash.clear
- assert_predicate @hash, :empty?
+ assert_empty @hash
end
def test_each