require 'rr' RSpec.configure do |config| config.mock_framework = :rr end