spec/spec_helper.rb in moip2-0.1.0 vs spec/spec_helper.rb in moip2-0.1.1
- old
+ new
@@ -1,5 +1,8 @@
+require "codeclimate-test-reporter"
+CodeClimate::TestReporter.start
+
require "moip2"
require "vcr"
require "webmock"
@@ -87,9 +90,10 @@
end
VCR.configure do |c|
c.cassette_library_dir = 'vcr_cassettes'
c.hook_into :webmock # or :fakeweb
+ c.ignore_hosts 'codeclimate.com'
end
# Helper methods
def sandbox_auth
Moip2::Auth::Basic.new('01010101010101010101010101010101', 'ABABABABABABABABABABABABABABABABABABABAB')