diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-11-23 16:51:55 +0100 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-11-23 16:59:58 +0100 |
commit | 7a1e93d35b7280db8bc4128862c86223d76a8d6d (patch) | |
tree | af2ef540c8a93a7739aa581a114a604fe03006dc /spec/lib/gitlab/github_import | |
parent | 0e6beaf50c9233ca03083691856dea2883f71773 (diff) | |
download | gitlab-ce-7a1e93d35b7280db8bc4128862c86223d76a8d6d.tar.gz |
Rename fetch_refs to refmap
Diffstat (limited to 'spec/lib/gitlab/github_import')
-rw-r--r-- | spec/lib/gitlab/github_import/importer/repository_importer_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/github_import/importer/repository_importer_spec.rb b/spec/lib/gitlab/github_import/importer/repository_importer_spec.rb index f827902e7b8..168e5d07504 100644 --- a/spec/lib/gitlab/github_import/importer/repository_importer_spec.rb +++ b/spec/lib/gitlab/github_import/importer/repository_importer_spec.rb @@ -166,7 +166,7 @@ describe Gitlab::GithubImport::Importer::RepositoryImporter do expect(repository) .to receive(:fetch_as_mirror) - .with(project.import_url, fetch_refs: Gitlab::GithubImport.fetch_refs, forced: true, remote_name: 'github') + .with(project.import_url, refmap: Gitlab::GithubImport.refmap, forced: true, remote_name: 'github') expect(importer.import_repository).to eq(true) end |