class RSpec::Core::Configuration

def expectation_frameworks

Returns the configured expectation framework adapter module(s)
def expectation_frameworks
  if @expectation_frameworks.empty?
    begin
      expect_with :rspec
    rescue LoadError
      expect_with Module.new
    end
  end
  @expectation_frameworks
end