Welcome to mirror list, hosted at ThFree Co, Russian Federation.

client_spec.rb « gitlab_import « gitlab « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cd8e805466a70e4943ea10f338cef8dc1da5c6b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'spec_helper'

describe Gitlab::GitlabImport::Client, lib: true do
  include ImportSpecHelper

  let(:token) { '123456' }
  let(:client) { Gitlab::GitlabImport::Client.new(token) }

  before do
    stub_omniauth_provider('gitlab')
  end

  it 'all OAuth2 client options are symbols' do
    client.client.options.keys.each do |key|
      expect(key).to be_kind_of(Symbol)
    end
  end
end