summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/bitbucket_import/client_spec.rb
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2016-06-09 16:10:40 +0300
committerFatih Acet <acetfatih@gmail.com>2016-06-09 16:10:40 +0300
commitf6e9078fb608144f8686dcd8a36876416815757c (patch)
treeab188423013edf0490432ea5b1dfa3eaeb36a0e1 /spec/lib/gitlab/bitbucket_import/client_spec.rb
parente5a4b26932dc97fc68a6c74a14db8724493f3499 (diff)
parent30ee4ea6659c91ac6a249d700a9fcdd266676942 (diff)
downloadgitlab-ce-f6e9078fb608144f8686dcd8a36876416815757c.tar.gz
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into milestone-tooltip
Diffstat (limited to 'spec/lib/gitlab/bitbucket_import/client_spec.rb')
-rw-r--r--spec/lib/gitlab/bitbucket_import/client_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/lib/gitlab/bitbucket_import/client_spec.rb b/spec/lib/gitlab/bitbucket_import/client_spec.rb
index 7718689e6d4..760d66a1488 100644
--- a/spec/lib/gitlab/bitbucket_import/client_spec.rb
+++ b/spec/lib/gitlab/bitbucket_import/client_spec.rb
@@ -1,12 +1,14 @@
require 'spec_helper'
describe Gitlab::BitbucketImport::Client, lib: true do
+ include ImportSpecHelper
+
let(:token) { '123456' }
let(:secret) { 'secret' }
let(:client) { Gitlab::BitbucketImport::Client.new(token, secret) }
before do
- Gitlab.config.omniauth.providers << OpenStruct.new(app_id: "asd123", app_secret: "asd123", name: "bitbucket")
+ stub_omniauth_provider('bitbucket')
end
it 'all OAuth client options are symbols' do