cucumber-http 0.7.2 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/cucumber/http/http_steps.rb +4 -0
- data/lib/cucumber/http/version.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 144515450c2cf5453f51f30538004d4f213679673bd82bfc4957214a67bc7250
|
|
4
|
+
data.tar.gz: 1b1077a311852544af42a07a24b3a2208520f88dbaf4a7a40b95197d7110cb09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7cb1396e679cc6dabe034a716c369f515694107f0cdd962e478a184529dcb66227becfd80ae5320f884a796967c1ece54600fc09c4bd975ced0b635403cc786e
|
|
7
|
+
data.tar.gz: c0c799f35a7247cc235f72f0d1e58084f15c8a5585bcecbd9f2d60696f401d14a5bca613d4448c37ab3b1d1147edee7c425442c5eb4e108c9e98955fea45efb5
|
|
@@ -125,3 +125,7 @@ end
|
|
|
125
125
|
Then /^the response body should be valid JSON$/ do
|
|
126
126
|
expect { JSON.parse(response[:body]) }.not_to raise_error
|
|
127
127
|
end
|
|
128
|
+
|
|
129
|
+
Then 'the response header "{string}" should be "{string}"' do |header, value|
|
|
130
|
+
expect(response[:headers][header.downcase][0]).to eq(value)
|
|
131
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cucumber-http
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kristof Willaert
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-07-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber
|
|
@@ -122,7 +122,7 @@ homepage: https://github.com/cultuurnet/cucumber-http
|
|
|
122
122
|
licenses:
|
|
123
123
|
- MIT
|
|
124
124
|
metadata: {}
|
|
125
|
-
post_install_message:
|
|
125
|
+
post_install_message:
|
|
126
126
|
rdoc_options: []
|
|
127
127
|
require_paths:
|
|
128
128
|
- lib
|
|
@@ -137,9 +137,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
138
|
version: '0'
|
|
139
139
|
requirements: []
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
signing_key:
|
|
140
|
+
rubygems_version: 3.4.20
|
|
141
|
+
signing_key:
|
|
143
142
|
specification_version: 4
|
|
144
143
|
summary: Cucumber steps to easily test JSON APIs
|
|
145
144
|
test_files: []
|