summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-09-04 20:03:59 +0200
committerJames Lopez <james@jameslopez.es>2017-09-04 20:03:59 +0200
commit7831e5cabacad8af5a0a7fcba0dd3a4153c723fa (patch)
tree398867437cd257048db1aca51936c04696773588
parentaf374be863de648d89f1571f5c311ec9b761294d (diff)
downloadgitlab-ce-7831e5cabacad8af5a0a7fcba0dd3a4153c723fa.tar.gz
-rw-r--r--spec/features/projects/import_export/import_file_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/import_export/import_file_spec.rb b/spec/features/projects/import_export/import_file_spec.rb
index bc6b6989a3b..ad2db1a34f4 100644
--- a/spec/features/projects/import_export/import_file_spec.rb
+++ b/spec/features/projects/import_export/import_file_spec.rb
@@ -31,7 +31,7 @@ feature 'Import/Export - project import integration test', js: true do
expect(page).to have_content('Import an exported GitLab project')
expect(URI.parse(current_url).query).to eq("namespace_id=#{namespace.id}&path=#{project_path}")
- expect(Gitlab::ImportExport).to receive(:import_upload_path).with(filename: /\A\h{32}_test-project-path.*\z/).and_call_original
+ expect(Gitlab::ImportExport).to receive(:import_upload_path).with(filename: /\A\h{32}_test-project-path\h*\z/).and_call_original
attach_file('file', file)
click_on 'Import project'