Method: RSpec::Mocks::ArgumentMatchers#no_args

Defined in:
lib/rspec/mocks/argument_matchers.rb

#no_argsObject

Matches no arguments.

Examples:

expect(object).to receive(:message).with(no_args)


42
43
44
# File 'lib/rspec/mocks/argument_matchers.rb', line 42

def no_args
  NoArgsMatcher::INSTANCE
end