Method: RSpec::Core::Configuration#mock_framework
- Defined in:
- lib/rspec/core/configuration.rb
#mock_framework ⇒ Symbol
Returns the configured mock framework adapter module.
669 670 671 672 673 674 675 676 677 678 |
# File 'lib/rspec/core/configuration.rb', line 669 def mock_framework if @mock_framework.nil? begin mock_with :rspec rescue LoadError mock_with :nothing end end @mock_framework end |