Sha256: 4380d4ddba0af88395c0654a44262b07831a2c368dee55c289ac2419a5612a35
Contents?: true
Size: 858 Bytes
Versions: 1
Compression:
Stored size: 858 Bytes
Contents
require 'spec_helper' describe OmniAuth::Strategies::Shoplo do subject do OmniAuth::Strategies::Shoplo.new({}) end context 'client options' do it 'should have correct name' do expect(subject.options.name).to eq('shoplo') end it 'should have correct site' do expect(subject.options.client_options.site).to eq('http://api.shoplo.com') end it 'should have correct authorize url' do expect(subject.options.client_options.authorize_path).to eq('/services/oauth/authorize') end it 'should have correct access token url' do expect(subject.options.client_options.access_token_path).to eq('/services/oauth/access_token') end it 'should have correct request token url' do expect(subject.options.client_options.request_token_path).to eq('/services/oauth/request_token') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-shoplo-0.0.1 | spec/omniauth/strategies/shoplo_spec.rb |