Sha256: ca030ba12cefe38b2b94715b8ea317ae08167cde8cf1e6b18e39c0920718151c

Contents?: true

Size: 310 Bytes

Versions: 37

Compression:

Stored size: 310 Bytes

Contents

RSpec.configure do |config|
  # pass `vcr: true` to an example to run it using VCR
  config.around(:each, vcr: true) do |example|
    name = example.metadata[:full_description].gsub(/\W+/, "_").split("_", 2).join("/").gsub('::', '_')[0, 94]
    VCR.use_cassette(name, record: :once) { example.call }
  end
end

Version data entries

37 entries across 37 versions & 3 rubygems

Version Path
myfinance-1.1.0 spec/support/vcr.rb
myfinance-1.0.0 spec/support/vcr.rb
myfinance-0.7.0 spec/support/vcr.rb
myfinance-0.6.0 spec/support/vcr.rb
myfinance-0.5.0 spec/support/vcr.rb
myfinance-0.4.0 spec/support/vcr.rb
myfinance-0.3.3 spec/support/vcr.rb
ecommerce-client-0.0.5 spec/support/vcr.rb
myfinance-0.3.2 spec/support/vcr.rb
myfinance-0.3.1 spec/support/vcr.rb
myfinance-0.3.0 spec/support/vcr.rb
myfinance-0.2.0 spec/support/vcr.rb
myfinance-0.1.0 spec/support/vcr.rb
ecommerce-client-0.0.4 spec/support/vcr.rb
ecommerce-client-0.0.3 spec/support/vcr.rb
ecommerce-client-0.0.2 spec/support/vcr.rb
ecommerce-client-0.0.1 spec/support/vcr.rb