cucumber-blendle-steps 0.8.3 → 0.8.4
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/cucumber/blendle/steps/rest_steps.rb +7 -2
- data/lib/cucumber/blendle/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: e9b9b8ebc9e0d1a3fd8c8ac55f25e768e17f5468
|
4
|
+
data.tar.gz: b02a245fb76e8323168815cc61a3f66203c451bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 492b3f92a26881cfc6de5d2da01aabd1098f695c127692d5cea71a93ec4da79f3e40c7581ffdab87f4e07dc46c61fd3a2a629776ae79ec08d7faceded29d87c3
|
7
|
+
data.tar.gz: a01143a4933d11f52cac3f3ff66e4be25d2e603c5cf5f32a101fbb27b01ce35405ad468c57e2eef9d46c9e634fad5b73eb992f79a81c40669ea0a7b36c07f009
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## [v0.8.3](https://github.com/blendle/cucumber-blendle-steps/tree/v0.8.3) (2016-05-03)
|
4
|
+
[Full Changelog](https://github.com/blendle/cucumber-blendle-steps/compare/v0.8.2...v0.8.3)
|
5
|
+
|
3
6
|
## [v0.8.2](https://github.com/blendle/cucumber-blendle-steps/tree/v0.8.2) (2016-04-28)
|
4
7
|
[Full Changelog](https://github.com/blendle/cucumber-blendle-steps/compare/v0.8.1...v0.8.2)
|
5
8
|
|
@@ -124,7 +124,12 @@ Then(%r{^the response should be HAL/JSON(?: \(disregarding values? of "([^"]*)"\
|
|
124
124
|
end
|
125
125
|
|
126
126
|
# * Then the response contains the "Location" header with value "https://example.org/item/hello"
|
127
|
+
# * Then the response contains the "Last-Modified" header
|
127
128
|
#
|
128
|
-
Then(/^the response contains the "(.*?)" header with value "(.*?)"
|
129
|
-
|
129
|
+
Then(/^the response contains the "(.*?)" header(?: with value "(.*?)")?$/) do |header, value|
|
130
|
+
if value
|
131
|
+
assert_equal value, last_response.headers[header]
|
132
|
+
else
|
133
|
+
assert last_response.headers[header], "missing header: #{header}"
|
134
|
+
end
|
130
135
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-blendle-steps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Mertz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|