Method: Spec::Mocks::ArgumentMatchers#boolean

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

#booleanObject

:call-seq:

object.should_receive(:message).with(boolean())

Passes if the argument is boolean.



190
191
192
# File 'lib/spec/mocks/argument_matchers.rb', line 190

def boolean
  BooleanMatcher.new(nil)
end