spec/spec_helper.rb in codeclimate-services-1.7.0 vs spec/spec_helper.rb in codeclimate-services-1.8.0
- old
+ new
@@ -32,6 +32,10 @@
end
# This setting enables warnings. It's recommended, but in some cases may
# be too noisy due to issues in dependencies.
config.warnings = true
+
+ config.before(:each) do
+ stub_resolv(anything, "1.1.1.1")
+ end
end