diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-07 15:09:30 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-07 15:09:30 +0000 |
commit | c6b3ec3f56fa32a0e0ed3de0d0878d25f1adaddf (patch) | |
tree | 967afee9a510ff9dd503ebd83706dc760ec2e3ed /spec/features | |
parent | 903ccf7c93eb9490c76857bffe744249cc07de09 (diff) | |
download | gitlab-ce-c6b3ec3f56fa32a0e0ed3de0d0878d25f1adaddf.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/projects/import_export/export_file_spec.rb | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/spec/features/projects/import_export/export_file_spec.rb b/spec/features/projects/import_export/export_file_spec.rb index 1e13afc6033..7ee8f42e6ef 100644 --- a/spec/features/projects/import_export/export_file_spec.rb +++ b/spec/features/projects/import_export/export_file_spec.rb @@ -38,7 +38,11 @@ describe 'Import/Export - project export integration test', :js do sign_in(user) end - shared_examples 'export file without sensitive words' do + context "with streaming serializer" do + before do + stub_feature_flags(project_export_as_ndjson: false) + end + it 'exports a project successfully', :sidekiq_inline do export_project_and_download_file(page, project) @@ -59,27 +63,8 @@ describe 'Import/Export - project export integration test', :js do end end - context "with legacy export" do - before do - stub_feature_flags(streaming_serializer: false) - stub_feature_flags(project_export_as_ndjson: false) - end - - it_behaves_like "export file without sensitive words" - end - - context "with streaming serializer" do - before do - stub_feature_flags(streaming_serializer: true) - stub_feature_flags(project_export_as_ndjson: false) - end - - it_behaves_like "export file without sensitive words" - end - context "with ndjson" do before do - stub_feature_flags(streaming_serializer: true) stub_feature_flags(project_export_as_ndjson: true) end |