Sha256: 8e9b4347c906895f595f1105c9153f92bb159475daabca01af7369f71fcda012
Contents?: true
Size: 220 Bytes
Versions: 1
Compression:
Stored size: 220 Bytes
Contents
module ResolvHelper def stub_resolv(host, address) allow(CC::Service::SafeWebhook).to receive(:getaddress). with(host).and_return(address) end end RSpec.configure do |conf| conf.include ResolvHelper end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
codeclimate-services-1.8.0 | spec/support/resolv_helper.rb |