Method: RSpec::Core::Configuration#expectation_frameworks
- Defined in:
- lib/rspec/core/configuration.rb
#expectation_frameworks ⇒ void
Returns the configured expectation framework adapter module(s)
819 820 821 822 823 824 825 826 827 828 |
# File 'lib/rspec/core/configuration.rb', line 819 def expectation_frameworks if @expectation_frameworks.empty? begin expect_with :rspec rescue LoadError expect_with Module.new end end @expectation_frameworks end |