summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/bitbucket_import
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-08-03 13:19:11 +0100
committerNick Thomas <nick@gitlab.com>2017-08-07 19:17:11 +0100
commitda5262f4e6d9524b2af2ad8f6c8ebe10edf17169 (patch)
treea26da5b83832daea538b1a927403fc66422b8c48 /spec/lib/gitlab/bitbucket_import
parentbfac6ce6e4a2415b76db1cd7321e312457c7ee89 (diff)
downloadgitlab-ce-da5262f4e6d9524b2af2ad8f6c8ebe10edf17169.tar.gz
Backport changes in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2551 to CE
Diffstat (limited to 'spec/lib/gitlab/bitbucket_import')
-rw-r--r--spec/lib/gitlab/bitbucket_import/importer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/bitbucket_import/importer_spec.rb b/spec/lib/gitlab/bitbucket_import/importer_spec.rb
index d7d6a37f7cf..a66347ead76 100644
--- a/spec/lib/gitlab/bitbucket_import/importer_spec.rb
+++ b/spec/lib/gitlab/bitbucket_import/importer_spec.rb
@@ -54,7 +54,7 @@ describe Gitlab::BitbucketImport::Importer do
create(
:project,
import_source: project_identifier,
- import_data: ProjectImportData.new(credentials: data)
+ import_data_attributes: { credentials: data }
)
end