Module: RSpec::Core::MockingAdapters::Mocha

Defined in:
lib/rspec/core/mocking_adapters/mocha.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.framework_nameObject



32
33
34
# File 'lib/rspec/core/mocking_adapters/mocha.rb', line 32

def self.framework_name
  :mocha
end

Instance Method Details

#setup_mocks_for_rspecObject



43
44
45
# File 'lib/rspec/core/mocking_adapters/mocha.rb', line 43

def setup_mocks_for_rspec
  mocha_setup
end

#teardown_mocks_for_rspecObject



51
52
53
# File 'lib/rspec/core/mocking_adapters/mocha.rb', line 51

def teardown_mocks_for_rspec
  mocha_teardown
end

#verify_mocks_for_rspecObject



47
48
49
# File 'lib/rspec/core/mocking_adapters/mocha.rb', line 47

def verify_mocks_for_rspec
  mocha_verify
end