Sha256: b6884db27733397c341dc401f280be923f399a90d1f9bfc28ee6d556144f032a

Contents?: true

Size: 668 Bytes

Versions: 2

Compression:

Stored size: 668 Bytes

Contents

require 'wikidata'
require 'vcr'
require 'pry'

RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    expectations.syntax = [:should, :expect]
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

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

  config.filter_run focus: true
  config.run_all_when_everything_filtered = true

  VCR.configure do |c|
    c.cassette_library_dir = 'spec/fixtures/vcr'
    c.default_cassette_options = { record: :new_episodes }
    c.hook_into :webmock
    c.allow_http_connections_when_no_cassette = true
    c.configure_rspec_metadata!
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wikidata-client-0.1.0 spec/spec_helper.rb
wikidata-client-0.1.0.pre.rc1 spec/spec_helper.rb