Skip to content

Instantly share code, notes, and snippets.

@bethsecor
Last active April 14, 2016 02:21
Show Gist options
  • Save bethsecor/f36b1e6f36738c64341de63294e89085 to your computer and use it in GitHub Desktop.
Save bethsecor/f36b1e6f36738c64341de63294e89085 to your computer and use it in GitHub Desktop.
# spec/spec_helper.rb
RSpec.configure do |config|
config.before(:each) do
stub_request(:any, /supercool.com/).to_rack(FakeSuperCool)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment