gitlab-org--gitlab-foss/spec/lib/gitlab/gitlab_import/client_spec.rb
Rémy Coutable cddc5cacfb Use described_class when possible
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00

18 lines
373 B
Ruby

require 'spec_helper'
describe Gitlab::GitlabImport::Client do
include ImportSpecHelper
let(:token) { '123456' }
let(:client) { described_class.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