method

expect_called_with

rails latest stable - Class: ActiveSupport::Testing::MethodCallAssertions
expect_called_with(mock, args, returns: false, **kwargs)
private

No documentation available.

# File activesupport/lib/active_support/testing/method_call_assertions.rb, line 38
          def expect_called_with(mock, args, returns: false, **kwargs)
            mock.expect(:call, returns, args, **kwargs)
          end