diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-08-07 20:24:40 +0300 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-08-07 20:36:06 +0300 |
commit | 036ee515d418b99181d5e610e40a7ab527a8a9ce (patch) | |
tree | 4c0122b6743409b86b6149aab186a2632cfe27e9 /spec/features/projects/import_export | |
parent | 1b8fb79287839d9784ae729f5aa9e246948b0f17 (diff) |
Port form back to use form_tag
Diffstat (limited to 'spec/features/projects/import_export')
-rw-r--r-- | spec/features/projects/import_export/import_file_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/import_export/import_file_spec.rb b/spec/features/projects/import_export/import_file_spec.rb index 9b4235d9186..83d924382be 100644 --- a/spec/features/projects/import_export/import_file_spec.rb +++ b/spec/features/projects/import_export/import_file_spec.rb @@ -29,9 +29,9 @@ feature 'Import/Export - project import integration test', js: true do fill_in :project_path, with: 'test-project-path', visible: true click_link 'GitLab export' - expect(page).to have_content('GitLab project export') + expect(page).to have_content('Import an exported GitLab project') expect(URI.parse(current_url).query).to eq("namespace_id=#{namespace.id}&path=test-project-path") - expect(Gitlab::ImportExport).to receive(:import_upload_path).with(filename: /\A[0-9a-f]{32}_test_project_export\.tar\.gz\z/).and_call_original + expect(Gitlab::ImportExport).to receive(:import_upload_path).with(filename: /\A\h{32}_test-project-path\z/).and_call_original attach_file('file', file) |