diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
commit | 6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde (patch) | |
tree | dc4d20fe6064752c0bd323187252c77e0a89144b /spec/finders/bulk_imports | |
parent | 9868dae7fc0655bd7ce4a6887d4e6d487690eeed (diff) |
Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42
Diffstat (limited to 'spec/finders/bulk_imports')
-rw-r--r-- | spec/finders/bulk_imports/entities_finder_spec.rb | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/spec/finders/bulk_imports/entities_finder_spec.rb b/spec/finders/bulk_imports/entities_finder_spec.rb index 54c792cb4d8..9e8d04400eb 100644 --- a/spec/finders/bulk_imports/entities_finder_spec.rb +++ b/spec/finders/bulk_imports/entities_finder_spec.rb @@ -88,10 +88,11 @@ RSpec.describe BulkImports::EntitiesFinder do let(:order) { :asc } it 'returns entities sorted ascending' do - expect(subject.execute).to eq([ - started_entity_1, finished_entity_1, failed_entity_1, - started_entity_2, finished_entity_2, failed_entity_2 - ]) + expect(subject.execute).to eq( + [ + started_entity_1, finished_entity_1, failed_entity_1, + started_entity_2, finished_entity_2, failed_entity_2 + ]) end end @@ -99,10 +100,11 @@ RSpec.describe BulkImports::EntitiesFinder do let(:order) { :desc } it 'returns entities sorted descending' do - expect(subject.execute).to eq([ - failed_entity_2, finished_entity_2, started_entity_2, - failed_entity_1, finished_entity_1, started_entity_1 - ]) + expect(subject.execute).to eq( + [ + failed_entity_2, finished_entity_2, started_entity_2, + failed_entity_1, finished_entity_1, started_entity_1 + ]) end end end |