Sha256: 5928facd10c3dd3f260487e4225e70a7e79c3cb2b2d12d245ff6788627b6d142

Contents?: true

Size: 410 Bytes

Versions: 6

Compression:

Stored size: 410 Bytes

Contents

require 'spec_helper'

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

  context "client options" do
    it 'should have correct site' do
      expect(subject.options.client_options.site).to eq('https://my.mlh.io')
    end

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
omniauth-mlh-0.3.0 spec/omniauth/mlh_spec.rb
omniauth-mlh-0.2.3 spec/omniauth/mlh_spec.rb
omniauth-mlh-0.2.2 spec/omniauth/mlh_spec.rb
omniauth-mlh-0.2.1 spec/omniauth/mlh_spec.rb
omniauth-mlh-0.2.0 spec/omniauth/mlh_spec.rb
omniauth-mlh-0.1.2 spec/omniauth/mlh_spec.rb