protobuf-rspec 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/protobuf/rspec/helpers.rb +3 -3
- data/lib/protobuf/rspec/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed54bca3d35f17966628d977f41afa9db7ab39b1
|
4
|
+
data.tar.gz: e3935fe7ef731fb2f087262b95e8fbbb5ef134d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2cd6a7cacf955302cf1a09b7f21117f63f09627727b1beeb4c7d94fe5ca0aed1c90497ae3baba11995bd7af34d8f379c0dc73eb44ef6d0438cfe6a6a962dec5
|
7
|
+
data.tar.gz: 6ca483a4e5611ab5d6a76a918ce27acf335365d5dff72207dbc260de238a086882c66baa620c356783d4a22adb20bdd9aaf7c6874b8e0a12ca875eddf852aeb0
|
@@ -295,13 +295,13 @@ module Protobuf
|
|
295
295
|
|
296
296
|
case
|
297
297
|
when callbacks[:request] then
|
298
|
-
client.
|
298
|
+
expect(client).to receive(method).with(callbacks[:request])
|
299
299
|
when block_given? then
|
300
|
-
client.
|
300
|
+
expect(client).to receive(method) do |given_req|
|
301
301
|
yield(given_req)
|
302
302
|
end
|
303
303
|
else
|
304
|
-
client.
|
304
|
+
expect(client).to receive(method)
|
305
305
|
end
|
306
306
|
|
307
307
|
success = callbacks[:success] || callbacks[:response]
|