Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 325 Bytes
require "rr"
require "rr/adapters/rspec"
require "rspec"
require "simplecov"
SimpleCov.start
require "rein"
RSpec.configure do |config|
config.mock_with :rr
end
# FIXME: This is a workaround to get RSpec 2 to play nicely with RR.
def have_received(method = nil)
RR::Adapters::Rspec::InvocationMatcher.new(method)
end
Something went wrong with that request. Please try again.