spec/spec_helper.rb in pesapal-1.5.4 vs spec/spec_helper.rb in pesapal-1.5.5
- old
+ new
@@ -1,5 +1,13 @@
+# The Coveralls.wear! must occur before any of your application code is required
+# https://coveralls.io/docs/ruby
+require 'coveralls'
+Coveralls.wear!
+
+require 'webmock/rspec'
require_relative '../lib/pesapal'
+
+WebMock.disable_net_connect!(allow_localhost: true)
RSpec.configure do |config|
config.expect_with :rspec do |c|
c.syntax = :expect
end