Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix Easy failing specs.

  • Loading branch information...
commit 1d69043257ebaa07cd41a6a8b58b923eeedd1d75 1 parent f95b8ed
@gravis gravis authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/typhoeus/easy.rb
View
3  lib/typhoeus/easy.rb
@@ -242,7 +242,8 @@ def set_option(option, value)
def perform
set_headers()
easy_perform()
- if resp_code = response_code() && resp_code >= 200 && resp_code <= 299
+ resp_code = response_code()
+ if resp_code >= 200 && resp_code <= 299
success
else
failure
Please sign in to comment.
Something went wrong with that request. Please try again.