diff options
author | James Lopez <james@gitlab.com> | 2018-09-17 10:52:49 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-09-17 10:52:49 +0000 |
commit | e72aeccdae4cdb35c3ab4941bcf3b4f0dd22d41b (patch) | |
tree | d06cf884ca34caed2fba77743b931ea6f521e14c /spec/controllers/import | |
parent | 78b3eea7d248c6d3c48b615c9df24a95cb5fd1d8 (diff) | |
download | gitlab-ce-e72aeccdae4cdb35c3ab4941bcf3b4f0dd22d41b.tar.gz |
Resolve "Unable to import repository: undefined method `import_file' for nil:NilClass"
Diffstat (limited to 'spec/controllers/import')
-rw-r--r-- | spec/controllers/import/gitlab_projects_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/import/gitlab_projects_controller_spec.rb b/spec/controllers/import/gitlab_projects_controller_spec.rb index d624659bce9..cbd1a112602 100644 --- a/spec/controllers/import/gitlab_projects_controller_spec.rb +++ b/spec/controllers/import/gitlab_projects_controller_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe Import::GitlabProjectsController do set(:namespace) { create(:namespace) } set(:user) { namespace.owner } - let(:file) { fixture_file_upload('spec/fixtures/doc_sample.txt', 'text/plain') } + let(:file) { fixture_file_upload('spec/fixtures/project_export.tar.gz', 'text/plain') } before do sign_in(user) |