Sha256: a1b88e6c856118b31e9a1fa085838a93518427fe9c3bda3a6db2290d0c4c1c61
Contents?: true
Size: 289 Bytes
Versions: 11
Compression:
Stored size: 289 Bytes
Contents
require 'webmock/minitest' WebMock.disable_net_connect!(allow: %w[codeclimate.com]) def WebMock.requests @requests ||= [] end WebMock.after_request do |request, response| WebMock.requests << request end class ActiveSupport::TestCase setup do WebMock.requests.clear end end
Version data entries
11 entries across 11 versions & 1 rubygems