module AncientMock

Constants

ExpectationNotSatisfied
VERSION

Public Class Methods

expectations() click to toggle source
# File lib/ancient_mock.rb, line 130
def self.expectations
  @expectations ||= []
end
reset() click to toggle source
# File lib/ancient_mock.rb, line 123
def self.reset
  expectations.each(&:verify)
ensure
  expectations.clear
  Stubber.reset
end