summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorJames Lopez <james@gitlab.com>2018-09-17 10:52:49 +0000
committerDouwe Maan <douwe@gitlab.com>2018-09-17 10:52:49 +0000
commite72aeccdae4cdb35c3ab4941bcf3b4f0dd22d41b (patch)
treed06cf884ca34caed2fba77743b931ea6f521e14c /spec/features
parent78b3eea7d248c6d3c48b615c9df24a95cb5fd1d8 (diff)
downloadgitlab-ce-e72aeccdae4cdb35c3ab4941bcf3b4f0dd22d41b.tar.gz
Resolve "Unable to import repository: undefined method `import_file' for nil:NilClass"
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/import_export/export_file_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/projects/import_export/export_file_spec.rb b/spec/features/projects/import_export/export_file_spec.rb
index 8a418356541..a2b96514d64 100644
--- a/spec/features/projects/import_export/export_file_spec.rb
+++ b/spec/features/projects/import_export/export_file_spec.rb
@@ -49,6 +49,8 @@ describe 'Import/Export - project export integration test', :js do
expect(file_permissions(project.export_path)).to eq(0700)
+ expect(project.export_file.path).to include('tar.gz')
+
in_directory_with_expanded_export(project) do |exit_status, tmpdir|
expect(exit_status).to eq(0)