spec/spec_helper.rb in cloudapp_api-0.4.0 vs spec/spec_helper.rb in cloudapp_api-0.5.0

- old
+ new

@@ -10,6 +10,14 @@ # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} RSpec.configure do |config| config.color_enabled = true + + config.before :suite do + FakeWeb.allow_net_connect = false + end + + config.after :suite do + FakeWeb.allow_net_connect = true + end end