Module: RSpec::Core::MockingAdapters::Flexmock

Includes:
FlexMock::MockContainer
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/mocking_adapters/flexmock.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.framework_nameObject



13
14
15
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/mocking_adapters/flexmock.rb', line 13

def self.framework_name
  :flexmock
end

Instance Method Details

#setup_mocks_for_rspecObject



17
18
19
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/mocking_adapters/flexmock.rb', line 17

def setup_mocks_for_rspec
  # No setup required.
end

#teardown_mocks_for_rspecObject



25
26
27
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/mocking_adapters/flexmock.rb', line 25

def teardown_mocks_for_rspec
  flexmock_close
end

#verify_mocks_for_rspecObject



21
22
23
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/mocking_adapters/flexmock.rb', line 21

def verify_mocks_for_rspec
  flexmock_verify
end