Sha256: 8701eb26d7c0121a5ebffe600eac549cb52514448fe22136fcb1a8544bd01bbf
Contents?: true
Size: 337 Bytes
Versions: 7
Compression:
Stored size: 337 Bytes
Contents
require 'webmock/rspec' RSpec.configure do |config| def json_stub(content_stub) { headers: { content_type: 'application/json' }, body: JSON.generate(content_stub) } end if ENV['CODECLIMATE_REPO_TOKEN'] config.after(:suite) do WebMock.disable_net_connect!(allow: 'codeclimate.com') end end end
Version data entries
7 entries across 7 versions & 1 rubygems