Sha256: f8576e8194a4bc5f694b4ecf492523979438c5b15e5324fa6f70a55d56955605
Contents?: true
Size: 553 Bytes
Versions: 1
Compression:
Stored size: 553 Bytes
Contents
require 'spec_helper' describe OmniAuth::Strategies::BandifyOauth2 do subject do OmniAuth::Strategies::BandifyOauth2.new({}) end context "client options" do it 'should have correct name' do expect(subject.options.name).to eq('bandify_oauth2') end it 'should have correct site' do expect(subject.options.client_options.site).to eq('https://login.bandify.co') 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-bandify-oauth2-0.1.0 | spec/omniauth/strategies/bandify_oauth2_spec.rb |