Sha256: c0717b2e0bd34a44547b1e57ee7088beffcf78418a2f5ef435093fe4009517dd

Contents?: true

Size: 393 Bytes

Versions: 7

Compression:

Stored size: 393 Bytes

Contents

require 'spec_helper'

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

  context 'client options' do
    it 'should have correct name' do
      expect(subject.options.name).to eq('coinbase')
    end

    it 'should have correct site' do
      expect(subject.options.client_options.site).to eq('https://coinbase.com')
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
omniauth-coinbase-1.0.6 spec/omniauth/strategies/coinbase_spec.rb
omniauth-coinbase-1.0.5 spec/omniauth/strategies/coinbase_spec.rb
omniauth-coinbase-1.0.4 spec/omniauth/strategies/coinbase_spec.rb
omniauth-coinbase-1.0.2 spec/omniauth/strategies/coinbase_spec.rb
omniauth-coinbase-1.0.1 spec/omniauth/strategies/coinbase_spec.rb
omniauth-coinbase-1.0.0 spec/omniauth/strategies/coinbase_spec.rb
omniauth-coinbase-0.0.1 spec/omniauth/strategies/coinbase_spec.rb