Excon.new("http://myapp", mock: Rails.env.test?).request(idempotent: true, expects: expected_status_codes, method: verb, path: path, query: params)
wrong number of arguments (2 for 1)
# /Users/kain/.rvm/gems/ruby-2.0.0-p0@myapp/gems/webmock-1.11.0/lib/webmock/http_lib_adapters/excon_adapter.rb:138:in `new'
# /Users/kain/.rvm/gems/ruby-2.0.0-p0@myapp/gems/excon-0.17.0/lib/excon.rb:102:in `new'
Can you please try with latest Excon version?
I recall I already did, the gem version listed in the stacktrace was one of the downgrades I did in order to check this error.
The latest excon clashes badly also with the VCR/WebMock combo, I'll try again when I have few minutes.
Latest Excon 0.19.x should be fine with WebMock. I think VCR is not yet compatible with Excon >= 0.17 and WebMock >= 1.11.
@bblimke I have this issue too, since heroku-api is currently locking excon to ~> 0.16.10. Since WebMock appears to be broken with this version of excon, would it be appropriate to update the gemspec to reflect this?
@danielfone gemspec should be updated, good point.
Having the same issue working with excon 0.13.4. When do you think the gemspec will be updated ?
Gemspec is now updated.
Hey guys, I see this was marked as resolved and gemspec updated but I still get the same error as above - is it just that the heroku gem and webmock are incompatible?
I just released 1.12.0