class RSpec::Mocks::Space
def add(obj)
def add(obj) mocks << obj unless mocks.detect {|m| m.equal? obj} end
def mocks
def mocks @mocks ||= [] end
def reset_all
def reset_all mocks.each do |mock| mock.rspec_reset end mocks.clear end
def verify_all
def verify_all mocks.each do |mock| mock.rspec_verify end end