rspec-request_describer 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/rspec/request_describer.rb +8 -2
- data/lib/rspec/request_describer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca941a46b240db6e93a089851b119abe12d87f32
|
4
|
+
data.tar.gz: 5928dde3da34b914593e271cd01ca8ead883f5df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c4e8dda0f084369e0319d4f9b351d474efe843555da89e68cd3028ad45c3ea00b9dc6b9f051b1291f0957acdbf2d4ec39bbbc2c1feac929f7d6844eb2a6c0e0
|
7
|
+
data.tar.gz: 1819c8db1f0a7db1350876206685be71d0979745c92d422eb36552dfec45f9201e10cb8f0047df69892b391ff79449f6457f938f58b3f10f12eb99da04502177
|
data/CHANGELOG.md
CHANGED
@@ -22,8 +22,14 @@ module RSpec
|
|
22
22
|
send_request
|
23
23
|
end
|
24
24
|
|
25
|
-
|
26
|
-
|
25
|
+
if (ActionDispatch::Integration::Session.instance_method(:process_with_kwargs) rescue false)
|
26
|
+
let(:send_request) do
|
27
|
+
send http_method, path, params: request_body, headers: env
|
28
|
+
end
|
29
|
+
else
|
30
|
+
let(:send_request) do
|
31
|
+
send http_method, path, request_body, env
|
32
|
+
end
|
27
33
|
end
|
28
34
|
|
29
35
|
let(:request_body) do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-request_describer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|