Skip to content

Instantly share code, notes, and snippets.

@thebadmonkeydev
Last active February 24, 2016 20:45
Show Gist options
  • Save thebadmonkeydev/c7828f87624f07b8f3f7 to your computer and use it in GitHub Desktop.
Save thebadmonkeydev/c7828f87624f07b8f3f7 to your computer and use it in GitHub Desktop.
Disable Webmock adapter after test suite
# Solved an issue with spec coverage reporting after spec runs
config.after(:suite) do
WebMock::HttpLibAdapters::NetHttpAdapter.disable!
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment