diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2019-07-03 10:16:34 +0300 |
---|---|---|
committer | Jan Provaznik <jprovaznik@gitlab.com> | 2019-07-03 10:16:34 +0300 |
commit | 38d46edba584b59b7307ed219f5e5ad9dd0b6de6 (patch) | |
tree | 7a17361757009f16384f8150864431a525904619 | |
parent | 7bd5fc132ac8a095ea4f67e5e15b647adcbecc58 (diff) | |
parent | 645c7f9631dc73035ef868977c56ca8f7f5529fc (diff) |
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
-rw-r--r-- | spec/support/matchers/gitaly_matchers.rb | 2 |
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 |