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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6d5ffa7f19cddc960b90cac8c998474b5a5ccd6
4
- data.tar.gz: 122ffdf9b1241377caf69eb0133fe12109136642
3
+ metadata.gz: e9b9b8ebc9e0d1a3fd8c8ac55f25e768e17f5468
4
+ data.tar.gz: b02a245fb76e8323168815cc61a3f66203c451bc
5
5
  SHA512:
6
- metadata.gz: da27cd9b9b98aea2a01f4833bf55771384ccab21e0f25dd1e37e6d52679b5f73e34bdff08fa415ece2279113f6d014835215f6d3ffb654ca550a7f0760e47ab9
7
- data.tar.gz: e56a137ea2d9b66cfafde4f44d975a2a4157afdfb342fa8166194ae4a2c148d84ea721640d6209b0192b1a3376907327d60ce492af2f460b30d88411ce301ff9
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 "(.*?)"$/) do |header, value|
129
- assert_equal value, last_response.headers[header]
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
@@ -6,6 +6,6 @@ module Cucumber
6
6
  # This module defines default steps used by all of Blendle Ruby projects.
7
7
  #
8
8
  module BlendleSteps
9
- VERSION = '0.8.3'.freeze
9
+ VERSION = '0.8.4'.freeze
10
10
  end
11
11
  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.3
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-03 00:00:00.000000000 Z
11
+ date: 2016-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport