spec/integrations/sdk_token_spec.rb in onfido-1.1.1 vs spec/integrations/sdk_token_spec.rb in onfido-2.0.0

- old
+ new

@@ -1,6 +1,10 @@ +# frozen_string_literal: true + describe Onfido::SdkToken do - subject(:sdk_token) { described_class.new } + include_context 'fake onfido api' + + subject(:sdk_token) { onfido.sdk_token } describe '#create' do it 'creates a new SDK token for the applicant' do applicant_id = '61f659cb-c90b-4067-808a-6136b5c01351' referrer = 'http://*.mywebsite.com/*'