aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/testing/method_call_assertions_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/testing/method_call_assertions_test.rb')
-rw-r--r--activesupport/test/testing/method_call_assertions_test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/test/testing/method_call_assertions_test.rb b/activesupport/test/testing/method_call_assertions_test.rb
index 652cbda8da..2939cf0233 100644
--- a/activesupport/test/testing/method_call_assertions_test.rb
+++ b/activesupport/test/testing/method_call_assertions_test.rb
@@ -27,6 +27,12 @@ class MethodCallAssertionsTest < ActiveSupport::TestCase
end
end
+ def test_assert_called_method_with_arguments
+ assert_called(@object, :<<) do
+ @object << 2
+ end
+ end
+
def test_assert_called_failure
error = assert_raises(Minitest::Assertion) do
assert_called(@object, :increment) do