Sha256: a42b7ec2dfc7bc0b71b656ee7c4a29c62fc9d09730bd70439ae7845ed69f3635

Contents?: true

Size: 928 Bytes

Versions: 21

Compression:

Stored size: 928 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'vcr'
require 'reviewed'

Dir['spec/support/*'].each { |f| require f }

RSpec.configure do |config|
  config.filter_run       :focused => true
  config.alias_example_to :fit, :focused => true
  config.alias_example_to :pit, :pending => true
  config.run_all_when_everything_filtered = true
  #config.backtrace_clean_patterns = []
end

VCR.configure do |config|
  config.ignore_localhost = false
  config.default_cassette_options = { :record => :new_episodes, :serialize_with => :psych }
  config.cassette_library_dir = 'spec/fixtures/vcr'
  config.hook_into :webmock
  config.configure_rspec_metadata!
end


TEST_URL = 'https://the-guide-staging.herokuapp.com/api/v1'
TEST_KEY = ENV['REVIEWED_API_KEY']

Reviewed::Client.configure do |client|
  client.api_key = TEST_KEY
  client.api_base_uri = TEST_URL
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
reviewed-1.2.4 spec/spec_helper.rb
reviewed-1.2.3 spec/spec_helper.rb
reviewed-1.3.0 spec/spec_helper.rb
reviewed-1.2.2 spec/spec_helper.rb
reviewed-1.2.0 spec/spec_helper.rb
reviewed-1.1.0 spec/spec_helper.rb
reviewed-1.0.4 spec/spec_helper.rb
reviewed-1.0.3 spec/spec_helper.rb
reviewed-1.0.2 spec/spec_helper.rb
reviewed-1.0.1 spec/spec_helper.rb
reviewed-1.0.0 spec/spec_helper.rb
reviewed-0.9.1 spec/spec_helper.rb
reviewed-0.9.0 spec/spec_helper.rb
reviewed-0.8.0 spec/spec_helper.rb
reviewed-0.7.1 spec/spec_helper.rb
reviewed-0.7 spec/spec_helper.rb
reviewed-0.6.4 spec/spec_helper.rb
reviewed-0.6.3 spec/spec_helper.rb
reviewed-0.6.2 spec/spec_helper.rb
reviewed-0.6.1 spec/spec_helper.rb