vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/message_expectation.rb
# Constrain a message expectation to be received at most a specific
# number of times.
#
# @example
#
#   dealer.should_recieve(:deal_card).at_most(10).times
Constrain a message expectation to be received at most a specific
number of times.
Constrain a message expectation to be received at most a specific number of times .
def at_most(n, &block)
        @method_block = block if block
        set_expected_received_count :at_most, n
        self
      end
def at_most ( n , & block ) @method_block = block if block set_expected_received_count :at_most , n self end
Constrain a message expectation to be received at most a specific
number of times.
Constrain a message expectation to be received at most a specific number of times .
n
block
example
None