Sha256: ceb15a637977c509b047c7e89af2321133e5013951ff0ff57e798e98fffb361c

Contents?: true

Size: 692 Bytes

Versions: 6

Compression:

Stored size: 692 Bytes

Contents

require "rspec"
require "webmock"
require "vcr"

require "redd"

VCR.configure do |config|
  config.cassette_library_dir = "spec/cassettes"
  config.hook_into :webmock
end

RSpec.configure do |config|
  config.filter_run :focus
  config.run_all_when_everything_filtered = true
  config.profile_examples = 10
  config.order = :random
  Kernel.srand config.seed
  
  config.expect_with :rspec do |expectations|
    expectations.syntax = :expect
  end

  config.mock_with :rspec do |mocks|
    mocks.syntax = :expect
    mocks.verify_partial_doubles = true
  end

  config.around :each do |example|
    VCR.use_cassette example.metadata[:full_description] do
      example.run
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
redd-0.1.5 spec/spec_helper.rb
redd-0.1.4 spec/spec_helper.rb
redd-0.1.3 spec/spec_helper.rb
redd-0.1.2 spec/spec_helper.rb
redd-0.1.1 spec/spec_helper.rb
redd-0.1.0 spec/spec_helper.rb