Sha256: de258075003220a8a1158bf353e67e95001ddb1f19a2363fbd9b82f62ce4cda3
Contents?: true
Size: 875 Bytes
Versions: 4
Compression:
Stored size: 875 Bytes
Contents
require 'spec_helper' describe OmniAuth::Strategies::Infusionsoft do subject do OmniAuth::Strategies::Infusionsoft.new({}) end before do OmniAuth.config.test_mode = true end after do OmniAuth.config.test_mode = false end context 'default options' do it 'has the correct name' do expect(subject.options.name).to eq('infusionsoft') end end context 'client options' do it 'has the correct site' do expect(subject.options.client_options.site).to eq('https://signin.infusionsoft.com') end it 'has the correct authorize url' do expect(subject.options.client_options.authorize_url).to eq('https://signin.infusionsoft.com/app/oauth/authorize') end it 'has the correct token url' do expect(subject.options.client_options.token_url).to eq('https://api.infusionsoft.com/token') end end end
Version data entries
4 entries across 4 versions & 2 rubygems