Sha256: c754f8b5ce1d1d00625268b4c19bdd1f5895ab171dd742dab60ad15133254304
Contents?: true
Size: 888 Bytes
Versions: 1
Compression:
Stored size: 888 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 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reviewed-0.5.0 | spec/spec_helper.rb |