diff options
Diffstat (limited to 'spec/features/projects/import_export/export_file_spec.rb')
-rw-r--r-- | spec/features/projects/import_export/export_file_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/projects/import_export/export_file_spec.rb b/spec/features/projects/import_export/export_file_spec.rb index 6732cf61767..8a418356541 100644 --- a/spec/features/projects/import_export/export_file_spec.rb +++ b/spec/features/projects/import_export/export_file_spec.rb @@ -4,7 +4,7 @@ require 'spec_helper' # It looks up for any sensitive word inside the JSON, so if a sensitive word is found # we'll have to either include it adding the model that includes it to the +safe_list+ # or make sure the attribute is blacklisted in the +import_export.yml+ configuration -feature 'Import/Export - project export integration test', :js do +describe 'Import/Export - project export integration test', :js do include Select2Helper include ExportFileHelper @@ -23,7 +23,7 @@ feature 'Import/Export - project export integration test', :js do let(:project) { setup_project } - background do + before do allow_any_instance_of(Gitlab::ImportExport).to receive(:storage_path).and_return(export_path) end @@ -36,7 +36,7 @@ feature 'Import/Export - project export integration test', :js do sign_in(user) end - scenario 'exports a project successfully' do + it 'exports a project successfully' do visit edit_project_path(project) expect(page).to have_content('Export project') |