Commit 38d46edb authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'sh-fix-gitaly-specs-failing' into 'master'

Fix order-dependent Gitaly specs failing

Closes #64006

See merge request gitlab-org/gitlab-ce!30282
parents 7bd5fc13 645c7f96
...@@ -9,6 +9,6 @@ end ...@@ -9,6 +9,6 @@ end
RSpec::Matchers.define :gitaly_request_with_params do |params| RSpec::Matchers.define :gitaly_request_with_params do |params|
match do |actual| match do |actual|
params.reduce(true) { |r, (key, val)| r && actual.send(key) == val } params.reduce(true) { |r, (key, val)| r && actual[key.to_s] == val }
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment