Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing the response code is a string issue in the story steps too.

Signed-off-by: John Nunemaker <nunemaker@gmail.com>
  • Loading branch information...
commit c077207d33f02eb273f7e776c1df2331bfac83df 1 parent 5c4abbd
@jqr jqr authored jnunemaker committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  features/steps/httparty_response_steps.rb
View
2  features/steps/httparty_response_steps.rb
@@ -17,7 +17,7 @@
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
Please sign in to comment.
Something went wrong with that request. Please try again.