aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/notifications/instrumenter_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/notifications/instrumenter_test.rb')
-rw-r--r--activesupport/test/notifications/instrumenter_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/notifications/instrumenter_test.rb b/activesupport/test/notifications/instrumenter_test.rb
index 1d76c91d30..d5c9e82e9f 100644
--- a/activesupport/test/notifications/instrumenter_test.rb
+++ b/activesupport/test/notifications/instrumenter_test.rb
@@ -47,13 +47,13 @@ module ActiveSupport
def test_start
instrumenter.start("foo", payload)
assert_equal [["foo", instrumenter.id, payload]], notifier.starts
- assert_predicate notifier.finishes, :empty?
+ assert_empty notifier.finishes
end
def test_finish
instrumenter.finish("foo", payload)
assert_equal [["foo", instrumenter.id, payload]], notifier.finishes
- assert_predicate notifier.starts, :empty?
+ assert_empty notifier.starts
end
end
end