spec/spec_helper.rb in reviewed-0.1.26 vs spec/spec_helper.rb in reviewed-0.1.27

- old
+ new

@@ -1,10 +1,10 @@ $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) -require 'reviewed' require 'vcr' +require 'reviewed' Dir['spec/support/*'].each { |f| require f } RSpec.configure do |config| config.filter_run :focused => true @@ -19,7 +19,9 @@ config.default_cassette_options = { record: :new_episodes } config.cassette_library_dir = 'spec/fixtures/vcr' config.hook_into :webmock end -TEST_URL = 'https://localhost:3000/api/v1' -TEST_KEY = '1234567890' + +TEST_URL = 'https://the-guide-staging.herokuapp.com/api/v1' +TEST_KEY = ENV['REVIEWED_TEST_KEY'] +