Sha256: 135056a2b2a9bcfe546d3e327a4b5035aef956c415c69d538fbd458a6e0b6493

Contents?: true

Size: 397 Bytes

Versions: 3

Compression:

Stored size: 397 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://www.coinbase.com')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
omniauth-coinbase-2.1.1 spec/omniauth/strategies/coinbase_spec.rb
omniauth-coinbase-2.1.0 spec/omniauth/strategies/coinbase_spec.rb
omniauth-coinbase-2.0.0 spec/omniauth/strategies/coinbase_spec.rb