diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 73db28f..5600557 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -37,8 +37,10 @@ RSpec.configure do |config| config.before(:each, :type => :helper) do |config| init_haml_helpers end + + config.after(:all) do + WebMock.disable_net_connect! :allow => /coveralls\.io/ + end end OmniAuth.config.test_mode = true - -WebMock.disable_net_connect! :allow => /coveralls\.io/ -- libgit2 0.21.2