Sha256: 6b8869ac3a6b3dbf13f10a58b62e691dbad81a06c46b6719cd957c81d7135f7b

Contents?: true

Size: 660 Bytes

Versions: 2

Compression:

Stored size: 660 Bytes

Contents

require 'rspotify'
require 'vcr'
require 'webmock/rspec'

VCR.configure do |c|
  c.cassette_library_dir = 'spec/vcr_cassettes'
  c.hook_into :webmock
end


RSpec.configure do |config|

  config.filter_run :focus
  config.run_all_when_everything_filtered = true

  if config.files_to_run.one?
    config.default_formatter = 'doc'
  end

  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.extend VCR::RSpec::Macros
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspotify-1.25.0 spec/spec_helper.rb
rspotify-1.24.0 spec/spec_helper.rb