Author: HIGUCHI Daisuke (VDR dai) <dai@debian.org>
Description: fix FTBFS with ruby-rspec 3.12
Bug-Debian: https://bugs.debian.org/1027067
Last-Update: 2023-01-02

Index: ruby-bunny/spec/unit/exchange_recovery_spec.rb
===================================================================
--- ruby-bunny.orig/spec/unit/exchange_recovery_spec.rb
+++ ruby-bunny/spec/unit/exchange_recovery_spec.rb
@@ -28,9 +28,9 @@ module Bunny
         dst.unbind(src2, routing_key: "def")
         dst.unbind(src3, routing_key: "jkl", arguments: {"key" => "value"})
 
-        expect(ch).to receive(:exchange_bind).with(src1, dst, routing_key: "abc")
-        expect(ch).to receive(:exchange_bind).with(src2, dst, routing_key: "ghi")
-        expect(ch).to receive(:exchange_bind).with(src3, dst, routing_key: "jkl")
+        expect(ch).to receive(:exchange_bind).with(src1, dst, {routing_key: "abc"})
+        expect(ch).to receive(:exchange_bind).with(src2, dst, {routing_key: "ghi"})
+        expect(ch).to receive(:exchange_bind).with(src3, dst, {routing_key: "jkl"})
 
         dst.recover_from_network_failure
       end
