diff options
author | Valery Sizov <valery@gitlab.com> | 2016-12-12 16:16:51 +0200 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-12-12 16:16:51 +0200 |
commit | 314c4746bc24a31efe88b142cd83ab36c3473cc9 (patch) | |
tree | 5031a8a29ddfe1078fb9baedf41dd4c865d95619 /spec/lib/gitlab/bitbucket_import | |
parent | 1d7f85aeef624a83f0b225217a23c8f5189cde54 (diff) | |
download | gitlab-ce-314c4746bc24a31efe88b142cd83ab36c3473cc9.tar.gz |
Specs for Bitbucket::Connections and Bitbucket::Collections
Diffstat (limited to 'spec/lib/gitlab/bitbucket_import')
-rw-r--r-- | spec/lib/gitlab/bitbucket_import/project_creator_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/lib/gitlab/bitbucket_import/project_creator_spec.rb b/spec/lib/gitlab/bitbucket_import/project_creator_spec.rb index bb007949557..b6d052a4612 100644 --- a/spec/lib/gitlab/bitbucket_import/project_creator_spec.rb +++ b/spec/lib/gitlab/bitbucket_import/project_creator_spec.rb @@ -2,6 +2,7 @@ require 'spec_helper' describe Gitlab::BitbucketImport::ProjectCreator, lib: true do let(:user) { create(:user) } + let(:repo) do double(name: 'Vim', slug: 'vim', @@ -12,6 +13,7 @@ describe Gitlab::BitbucketImport::ProjectCreator, lib: true do visibility_level: Gitlab::VisibilityLevel::PRIVATE, clone_url: 'ssh://git@bitbucket.org/asd/vim.git') end + let(:namespace){ create(:group, owner: user) } let(:token) { "asdasd12345" } let(:secret) { "sekrettt" } |