Skip to content
Browse files

Use blocking requests in Excon specs to pass on Jruby

  • Loading branch information...
1 parent 123974b commit 86a0158600be1f7f4c2656438e9203409cb4ed35 @bblimke bblimke committed Sep 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/acceptance/excon/excon_spec_helper.rb
View
2 spec/acceptance/excon/excon_spec_helper.rb
@@ -7,7 +7,7 @@ def http_request(method, uri, options = {}, &block)
uri = Addressable::URI.heuristic_parse(uri)
uri = uri.omit(:userinfo).to_s.gsub(' ', '+')
- options = options.merge(:method => method) # Dup and merge
+ options = options.merge(:method => method, :nonblock => false) # Dup and merge
response = Excon.new(uri).request(options, &block)
headers = WebMock::Util::Headers.normalize_headers(response.headers)

0 comments on commit 86a0158

Please sign in to comment.
Something went wrong with that request. Please try again.