spec/spec_helper.rb in medlink-0.1.0 vs spec/spec_helper.rb in medlink-0.2.0

- old
+ new

@@ -1,8 +1,9 @@ require 'bundler/setup' require 'webmock/rspec' require 'vcr' +require 'awesome_print' require_relative '../lib/medlink.rb' VCR.configure do |c| c.cassette_library_dir = 'spec/cassettes' @@ -11,12 +12,12 @@ c.before_record do |i| i.response.body.force_encoding('UTF-8') end end -TOKEN = "HKJbahe6Gehbrg2" - RSpec.configure do |c| c.before(:each) do - @api = Medlink::API.new(TOKEN) + Medlink.configure do |config| + config.token = "b12186d9d390fc2d9df5d6869fc0c008" + end end end \ No newline at end of file