summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2019-07-03 07:16:34 +0000
committerJan Provaznik <jprovaznik@gitlab.com>2019-07-03 07:16:34 +0000
commit38d46edba584b59b7307ed219f5e5ad9dd0b6de6 (patch)
tree7a17361757009f16384f8150864431a525904619 /spec
parent7bd5fc132ac8a095ea4f67e5e15b647adcbecc58 (diff)
parent645c7f9631dc73035ef868977c56ca8f7f5529fc (diff)
downloadgitlab-ce-38d46edba584b59b7307ed219f5e5ad9dd0b6de6.tar.gz
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
Diffstat (limited to 'spec')
-rw-r--r--spec/support/matchers/gitaly_matchers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/matchers/gitaly_matchers.rb b/spec/support/matchers/gitaly_matchers.rb
index ebfabcd8f24..933ed22b5d0 100644
--- a/spec/support/matchers/gitaly_matchers.rb
+++ b/spec/support/matchers/gitaly_matchers.rb
@@ -9,6 +9,6 @@ end
RSpec::Matchers.define :gitaly_request_with_params do |params|
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