File: configuration_stubbing.rb

package info (click to toggle)
ruby-vcr 6.0.0%2Breally5.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,192 kB
  • sloc: ruby: 8,440; sh: 177; makefile: 4
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