Module: Orangutan::MockAdapter

Defined in:
lib/orangutan/mock_adapter.rb

Instance Method Summary collapse

Instance Method Details

#setup_mocks_for_rspecObject



5
6
7
8
# File 'lib/orangutan/mock_adapter.rb', line 5

def setup_mocks_for_rspec
  self.class.class_eval {include Orangutan::Chantek}
  reset_stubs
end

#teardown_mocks_for_rspecObject



13
14
15
# File 'lib/orangutan/mock_adapter.rb', line 13

def teardown_mocks_for_rspec
  restore_methods
end

#verify_mocks_for_rspecObject



10
11
# File 'lib/orangutan/mock_adapter.rb', line 10

def verify_mocks_for_rspec
end