Sha256: 82b8c8723d7f820ab54920eade0b17a183f811965f5a806eb87d36ede430ba54

Contents?: true

Size: 525 Bytes

Versions: 4

Compression:

Stored size: 525 Bytes

Contents

require 'spec_helper'

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

  context "client options" do
    it 'should have correct name' do
      subject.options.name.should eq("twitter")
    end

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

    it 'should have correct authorize url' do
      subject.options.client_options.authorize_path.should eq('/oauth/authenticate')
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
omniauth-twitter-0.0.13 spec/omniauth/strategies/twitter_spec.rb
omniauth-twitter-0.0.12 spec/omniauth/strategies/twitter_spec.rb
omniauth-twitter-0.0.11 spec/omniauth/strategies/twitter_spec.rb
omniauth-twitter-0.0.10 spec/omniauth/strategies/twitter_spec.rb