tests/test_helper.rb
def recording_webmock_cassette(name, options = {}, &block)
        WebMock::Config.instance.net_http_connect_on_start = true
        VCR.use_cassette(name, options, &block)
      ensure
        WebMock::Config.instance.net_http_connect_on_start = false
      end
# Records new cassette, but before writing removes the examples already in *shared* cassette.
Records new cassette, but before writing removes the examples already in *shared* cassette.
Records new cassette but before writing removes the examples already in * shared * cassette .
def recording_webmock_cassette(name, options = {}, &block)
        WebMock::Config.instance.net_http_connect_on_start = true
        VCR.use_cassette(name, options, &block)
      ensure
        WebMock::Config.instance.net_http_connect_on_start = false
      end
def recording_webmock_cassette ( name , options = { } , & block ) WebMock :: Config . instance . net_http_connect_on_start = true VCR . use_cassette ( name , options , & block ) ensure WebMock :: Config . instance . net_http_connect_on_start = false end
Records new cassette, but before writing removes the examples already in *shared* cassette.
Records new cassette but before writing removes the examples already in * shared * cassette .
name
options
block