mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Fixing the response code is a string issue in the story steps too.
Signed-off-by: John Nunemaker <nunemaker@gmail.com>
This commit is contained in:
parent
5c4abbde95
commit
c077207d33
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ Then /it should return a Hash equaling:/ do |hash_table|
|
||||||
end
|
end
|
||||||
|
|
||||||
Then /it should return a response with a (\d+) response code/ do |code|
|
Then /it should return a response with a (\d+) response code/ do |code|
|
||||||
@response_from_httparty.code.should eql(code)
|
@response_from_httparty.code.should eql(code.to_i)
|
||||||
end
|
end
|
||||||
|
|
||||||
Then /it should raise an HTTParty::RedirectionTooDeep exception/ do
|
Then /it should raise an HTTParty::RedirectionTooDeep exception/ do
|
||||||
|
|
Loading…
Reference in a new issue