cucumber-api-steps 0.5 → 0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ When /^I authenticate as the user "([^"]*)" with the password "([^"]*)"$/ do |us
21
21
  end
22
22
  end
23
23
 
24
- When /^I send a (GET|POST|PUT|DELETE) request (?:for|to) "([^"]*)"(?: with the following:)?$/ do |request_type, path, body|
24
+ When /^I send a (GET|POST|PUT|DELETE) request (?:for|to) "([^"]*)"( with the following:)?$/ do |request_type, path, body|
25
25
  if body.present?
26
26
  page.driver.send(request_type.downcase.to_sym, path, body)
27
27
  else
@@ -1,5 +1,5 @@
1
1
  module Cucumber
2
2
  module ApiSteps
3
- VERSION = "0.5"
3
+ VERSION = "0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-api-steps
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 5
9
- version: "0.5"
8
+ - 6
9
+ version: "0.6"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jay Zeschin