summaryrefslogtreecommitdiff
path: root/spec/support/matchers/gitaly_matchers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/matchers/gitaly_matchers.rb')
-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