Sha256: 5c0a6839411b99b28221c4c01254e903e9a31a3e08c8cd91adb8be535a3f6acd
Contents?: true
Size: 719 Bytes
Versions: 1
Compression:
Stored size: 719 Bytes
Contents
require 'spec_helper' describe OmniAuth::Strategies::SevenDigital do subject do OmniAuth::Strategies::SevenDigital.new({}) end context 'client options' do it 'should have correct name' do expect(subject.options.name).to eq('seven_digital') end it 'should have correct site' do expect(subject.options.client_options.site).to eq('https://api.7digital.com') end it 'should have correct request token url' do expect(subject.options.client_options.request_token_path).to eq('/1.2/oauth/requesttoken') end it 'should have correct access token url' do expect(subject.options.client_options.access_token_path).to eq('/1.2/oauth/accesstoken') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-7digital-1.0.0 | spec/omniauth/strategies/7digital_spec.rb |