1
0
Fork 0
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:
Elijah Miller 2009-02-20 09:32:53 +08:00 committed by John Nunemaker
parent 5c4abbde95
commit c077207d33

View file

@ -17,7 +17,7 @@ Then /it should return a Hash equaling:/ do |hash_table|
end
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
Then /it should raise an HTTParty::RedirectionTooDeep exception/ do