spec/spec_helper.rb in nexaas_id-client-0.6.0 vs spec/spec_helper.rb in nexaas_id-client-0.7.0

- old
+ new

@@ -15,10 +15,11 @@ require 'vcr' require 'pry' require 'webmock/rspec' require 'support/authorization' +require 'support/configuration_helper' VCR.configure do |c| c.cassette_library_dir = 'spec/fixtures/vcr_cassettes' c.hook_into :webmock c.ignore_localhost = true @@ -28,16 +29,15 @@ RSpec.configure do |c| c.mock_with :rspec c.example_status_persistence_file_path = '.rspec_persistence' c.include Authorization + c.include ConfigurationHelper c.before do NexaasID.configure do |config| - # https://sandbox.id.nexaas.com/applications/89e9d504-e2a8-476e-ac94-c33e68399c7e - # Test application - luiz.buiatte+pw.api.test@nexaas.com config.url = ENV['NEXAAS_ID_URL'] - config.application_token = ENV['APPLICATION_TOKEN'] + config.application_token = ENV['APPLICATION_TOKEN'] config.application_secret = ENV['APPLICATION_SECRET'] end end end