require 'mocha_standalone' RSpec.configure do |c| c.mock_with :mocha end