module ActiveSupport::Testing::MethodCallAssertions

def assert_not_called(object, method_name, message = nil, &block)

def assert_not_called(object, method_name, message = nil, &block)
  assert_called(object, method_name, message, times: 0, &block)
end