added 'WebMock.disable_net_connect' to all spec_helpers

This commit is contained in:
James A. Rosen 2010-08-11 08:50:20 -07:00
parent 75c3c8547f
commit c5bb22df9d
5 changed files with 10 additions and 0 deletions

View File

@ -8,3 +8,5 @@ include Rack::Test::Methods
include WebMock
require 'omniauth/basic'
WebMock.disable_net_connect!

View File

@ -11,3 +11,5 @@ Spec::Runner.configure do |config|
config.include Rack::Test::Methods
config.extend OmniAuth::Test::StrategyMacros, :type => :strategy
end
WebMock.disable_net_connect!

View File

@ -14,3 +14,5 @@ Spec::Runner.configure do |config|
config.include Rack::Test::Methods
config.extend OmniAuth::Test::StrategyMacros, :type => :strategy
end
WebMock.disable_net_connect!

View File

@ -14,3 +14,5 @@ Spec::Runner.configure do |config|
config.include Rack::Test::Methods
config.extend OmniAuth::Test::StrategyMacros, :type => :strategy
end
WebMock.disable_net_connect!

View File

@ -14,3 +14,5 @@ Spec::Runner.configure do |config|
config.include Rack::Test::Methods
config.extend OmniAuth::Test::StrategyMacros, :type => :strategy
end
WebMock.disable_net_connect!