Sha256: 646c14e443485ad5ece960d5650f503be3109b71e82c29f79f5d8b401f28299b

Contents?: true

Size: 440 Bytes

Versions: 13

Compression:

Stored size: 440 Bytes

Contents

# frozen_string_literal: true

RSpec.configure do |config|
  config.around(:each, :vcr => lambda { |v| !!v }) 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

13 entries across 13 versions & 1 rubygems

Version Path
rspeckled-2.0.1 lib/rspeckled/plugins/hooks/vcr.rb
rspeckled-2.0.0 lib/rspeckled/plugins/hooks/vcr.rb
rspeckled-1.4.0 lib/rspeckled/plugins/hooks/vcr.rb
rspeckled-1.3.1 lib/rspeckled/plugins/hooks/vcr.rb
rspeckled-1.3.0 lib/rspeckled/plugins/hooks/vcr.rb
rspeckled-1.2.1 lib/rspeckled/plugins/hooks/vcr.rb
rspeckled-1.2.0 lib/rspeckled/plugins/hooks/vcr.rb
rspeckled-1.1.3 lib/rspeckled/plugins/hooks/vcr.rb
rspeckled-1.1.2 lib/rspeckled/plugins/hooks/vcr.rb
rspeckled-1.1.1 lib/rspeckled/plugins/hooks/vcr.rb
rspeckled-1.1.0 lib/rspeckled/plugins/hooks/vcr.rb
rspeckled-1.0.5 lib/rspeckled/plugins/hooks/vcr.rb
rspeckled-1.0.4 lib/rspeckled/plugins/hooks/vcr.rb