File: configuration_stubbing.rb

package info (click to toggle)
ruby-vcr 6.0.0%2Breally5.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,320 kB
  • sloc: ruby: 8,456; sh: 177; makefile: 7
file content (8 lines) | stat: -rw-r--r-- 168 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
shared_context "configuration stubbing" do
  let(:config) { double("VCR::Configuration") }

  before do
    allow(VCR).to receive(:configuration) { config }
  end
end