debian-mirror-gitlab/spec/lib/gitlab/gitlab_import/client_spec.rb

19 lines
397 B
Ruby
Raw Normal View History

2015-04-26 12:48:37 +05:30
require 'spec_helper'
2015-12-23 02:04:40 +05:30
describe Gitlab::GitlabImport::Client, lib: true do
include ImportSpecHelper
2015-04-26 12:48:37 +05:30
let(:token) { '123456' }
let(:client) { Gitlab::GitlabImport::Client.new(token) }
before do
stub_omniauth_provider('gitlab')
2015-04-26 12:48:37 +05:30
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