Parent

Class/Module Index [+]

Quicksearch

Object

Public Instance Methods

args_message() click to toggle source
# File lib/rspec-spies.rb, line 69
def args_message
  @args ? " with #{@args.inspect}" : ""
end
message_received(message, *args, &block) click to toggle source
# File lib/rspec-spies.rb, line 7
def message_received(message, *args, &block)
  record_message_received(message, *args, &block)
  oldsp_message_received(message, *args, &block)
end
reset() click to toggle source
# File lib/rspec-spies.rb, line 12
def reset
  @messages_received = []
  oldsp_reset
end
times_message() click to toggle source
# File lib/rspec-spies.rb, line 73
def times_message
  @times ? " exactly #{@expected_count} times but was called #{@messages_received.count} times" : ""
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.