Sha256: d44ea3f600a0c23d67251eeadd3c239b916554920f86f2f3e61652189129acef

Contents?: true

Size: 438 Bytes

Versions: 2

Compression:

Stored size: 438 Bytes

Contents

# frozen_string_literal: true

::RSpec.configure do |config|
  config.around(:each, vcr: ->(v) { !v.nil? }) do |example|
    config.rspeckled_logger.debug("Around Each  - Start - #{__FILE__}")

    ::VCR.configuration.allow_http_connections_when_no_cassette = false

    example.run

    ::VCR.configuration.allow_http_connections_when_no_cassette = true

    config.rspeckled_logger.debug("Around Each  - End   - #{__FILE__}")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspeckled-2.1.1 lib/rspeckled/plugins/hooks/vcr.rb
rspeckled-2.1.0 lib/rspeckled/plugins/hooks/vcr.rb