Sha256: c79be6c6273c6ee6bdc3e925edcf33fbe76b7786deab7d3632bde6af87876453
Contents?: true
Size: 339 Bytes
Versions: 1
Compression:
Stored size: 339 Bytes
Contents
module SpecHelperMethods def expect_deprecation_with_call_site(file, line) expect(RSpec.configuration.reporter).to receive(:deprecation) do |options| expect(options[:call_site]).to include([file, line].join(':')) end end def allow_deprecation allow(RSpec.configuration.reporter).to receive(:deprecation) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-expectations-2.99.0.beta1 | spec/support/helper_methods.rb |