cucumber-api-steps 0.7 → 0.8

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.
@@ -3,8 +3,8 @@ require 'jsonpath'
3
3
  World(Rack::Test::Methods)
4
4
 
5
5
  Given /^I send and accept (XML|JSON)$/ do |type|
6
- page.driver.header 'Accept', "text/#{type.downcase}"
7
- page.driver.header 'Content-Type', "text/#{type.downcase}"
6
+ page.driver.header 'Accept', "application/#{type.downcase}"
7
+ page.driver.header 'Content-Type', "application/#{type.downcase}"
8
8
  end
9
9
 
10
10
  When /^I authenticate as the user "([^"]*)" with the password "([^"]*)"$/ do |user, pass|
@@ -1,5 +1,5 @@
1
1
  module Cucumber
2
2
  module ApiSteps
3
- VERSION = "0.7"
3
+ VERSION = "0.8"
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: 5
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 7
9
- version: "0.7"
8
+ - 8
9
+ version: "0.8"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jay Zeschin