Sha256: 728b2846cb7d0595f35dd56d378b0b2277437da892a67bc938bae4aecf1b9947

Contents?: true

Size: 510 Bytes

Versions: 2

Compression:

Stored size: 510 Bytes

Contents

require 'spec_helper'

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

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

    it 'should have correct site' do
      subject.options.client_options.site.should eq('http://api.cmp.ly')
    end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
omniauth-cmply-0.0.10 spec/omniauth/strategies/cmply_spec.rb
omniauth-cmply-0.0.9 spec/omniauth/strategies/cmply_spec.rb