Sha256: 3d959f0dd1d5a7941b595105c236a960ad73fad5051746799bffad5e695b35e4
Contents?: true
Size: 755 Bytes
Versions: 1
Compression:
Stored size: 755 Bytes
Contents
require 'spec_helper' describe NexaasID::Client::Identity do subject { described_class.new(user_credentials) } describe '#profile' do it 'provides the profile resource' do VCR.use_cassette('identity/refresh_token') do expect(subject.profile).to be_a(NexaasID::Resources::Profile) end end end describe '#sign_up' do it 'provides the signup resource' do VCR.use_cassette('identity/refresh_token') do expect(subject.sign_up).to be_a(NexaasID::Resources::SignUp) end end end describe '#sign_up' do it 'provides the widget resource' do VCR.use_cassette('identity/refresh_token') do expect(subject.widget).to be_a(NexaasID::Resources::Widget) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nexaas_id-client-0.5.0 | spec/nexaas_id/client/identity_spec.rb |