Sha256: 323a824edf2ef7e3b164d979e61a1d1db52e9af8d62b89a34c3a5739240598b3

Contents?: true

Size: 584 Bytes

Versions: 3

Compression:

Stored size: 584 Bytes

Contents

require 'spec_helper'

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

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
omniauth-flattr-0.1.2 spec/omniauth/strategies/flattr_spec.rb
omniauth-flattr-0.1.1 spec/omniauth/strategies/flattr_spec.rb
omniauth-flattr-0.1.0 spec/omniauth/strategies/flattr_spec.rb