Sha256: ee0f1116e43731dea413fadff8fec146390847a5c2844021817f5450f0cb2564
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 Bytes
Contents
require 'spec_helper' describe OmniAuth::Strategies::ShuttlerockOauth2 do subject do OmniAuth::Strategies::ShuttlerockOauth2.new({}) end context "client options" do it 'should have correct name' do expect(subject.options.name).to eq('shuttlerock_oauth2') end it 'should have correct site' do expect(subject.options.client_options.site).to eq('https://login.shuttlerock.com') end it 'should have correct authorize url' do expect(subject.options.client_options.authorize_url).to eq('/oauth/authorize') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-shuttlerock-oauth2-0.0.4 | spec/omniauth/strategies/shuttlerock_oauth2_spec.rb |