Sha256: dfc84954da91809a4a6f4cb42e5dd9b1a8632fbca9297d250947c24616aa651d
Contents?: true
Size: 686 Bytes
Versions: 2
Compression:
Stored size: 686 Bytes
Contents
require 'spec-helper' require 'omniauth-rightsignature' describe Omniauth::Strategies::Rightsignature do context "client_options" do subject do OmniAuth::Strategies::Rightsignature.new({}) end it 'should have the correct site' do expect(subject.options.client_options.site).to eq("https://rightsignature.com") end it 'should have the correct authorizate url' do expect(subject.options.client_options.authorize_url).to eq("https://rightsignature.com/oauth/authorize") end it 'should have the correct access token url' do expect(subject.options.client_options.access_token_path).to eq("https://rightsignature.com/oauth/access_token") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
omniauth-rightsignature-0.0.7 | spec/omniauth/strategies/rightsignature_spec.rb |
omniauth-rightsignature-0.0.6 | lib/spec/omniauth/strategies/rightsignature_spec.rb |