Sha256: 27a2920629fce9fa36054e09a0a8f437a8550d58d52c74a010b08b0d124aa690
Contents?: true
Size: 406 Bytes
Versions: 3
Compression:
Stored size: 406 Bytes
Contents
describe Onfido::SdkToken do subject(:sdk_token) { described_class.new } describe '#create' do it 'creates a new SDK token for the applicant' do applicant_id = '61f659cb-c90b-4067-808a-6136b5c01351' referrer = 'http://*.mywebsite.com/*' response = sdk_token.create(applicant_id: applicant_id, referrer: referrer) expect(response['token']).not_to be_nil end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
onfido-1.1.1 | spec/integrations/sdk_token_spec.rb |
onfido-1.1.0 | spec/integrations/sdk_token_spec.rb |
onfido-1.0.0 | spec/integrations/sdk_token_spec.rb |