Sha256: 49c9a00609aba44f6be9b84d2a53523dde3a61b1244db979dfdf20a8f6a478c3

Contents?: true

Size: 623 Bytes

Versions: 6

Compression:

Stored size: 623 Bytes

Contents

require 'spec_helper'

describe OmniAuth::Strategies::GitHubTeamMember do
  subject do
    OmniAuth::Strategies::GitHubTeamMember.new({})
  end

  context 'client options' do
    it 'should have correct site' do
      subject.options.client_options.site.should eq('https://api.github.com')
    end

    it 'should have correct authorize url' do
      subject.options.client_options.authorize_url.should eq('https://github.com/login/oauth/authorize')
    end

    it 'should have correct token url' do
      subject.options.client_options.token_url.should eq('https://github.com/login/oauth/access_token')
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
omniauth-github-team-member-2.1.0 spec/omniauth/strategies/github_team_member_spec.rb
omniauth-github-team-member-2.0.1 spec/omniauth/strategies/github_team_member_spec.rb
omniauth-github-team-member-2.0.0 spec/omniauth/strategies/github_team_member_spec.rb
omniauth-github-team-member-1.0.2 spec/omniauth/strategies/github_team_member_spec.rb
omniauth-github-team-member-1.0.1 spec/omniauth/strategies/github_team_member_spec.rb
omniauth-github-team-member-1.0.0 spec/omniauth/strategies/github_team_member_spec.rb