Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/import_export/fast_hash_serializer_spec.rb')
-rw-r--r--spec/lib/gitlab/import_export/fast_hash_serializer_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/import_export/fast_hash_serializer_spec.rb b/spec/lib/gitlab/import_export/fast_hash_serializer_spec.rb
index fc08a13a8bd..d5f31f235f5 100644
--- a/spec/lib/gitlab/import_export/fast_hash_serializer_spec.rb
+++ b/spec/lib/gitlab/import_export/fast_hash_serializer_spec.rb
@@ -207,9 +207,9 @@ RSpec.describe Gitlab::ImportExport::FastHashSerializer do
context 'relation ordering' do
it 'orders exported pipelines by primary key' do
- expected_order = project.ci_pipelines.reorder(:id).ids
+ expected_order = project.ci_pipelines.reorder(:id).pluck(:sha)
- expect(subject['ci_pipelines'].pluck('id')).to eq(expected_order)
+ expect(subject['ci_pipelines'].pluck('sha')).to eq(expected_order)
end
end