dandemeyere / responsys-api

MIT License
19 stars 19 forks source link

Savon Client version problem #30

Open zerowgravity opened 9 years ago

zerowgravity commented 9 years ago

Making a SOAP request from a test/development environment (rails console) is causing a test_process to be dispatched by the HTTP client, which in turn is unable to set a cookie and throwing this error:

undefined method `cookie_jar' for nil:NilClass

. I'm curious to know if anyone else has run into this issue? I'm using responsys-api '~> 0.2.3'.

florrain commented 9 years ago

I've never seen that before, do you have a gist which reproduces the bug?

zerowgravity commented 9 years ago

https://gist.github.com/zerowgravity/8c89ebc18273a1548a81

I'm curious to know how the gem could be tested on test/dev environments.

florrain commented 9 years ago

Hmm I'm not sure I can help you with that nor it's directly related to the gem. You should be able to use the gem in any environment which my team's webapp project does, from a Rails webapp using RSpec 3.2.

I'm wondering if it's because of the test env setup? found that stackoverflow post