RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: debprado
I've been using Slicehost for a few years
this articles helped me a lot: articles.slicehost.com
This works! Thank you!
capybara-prawn?
just joking :)
Any tips on how to test the content of the pdf?
to answer my own question :):
https://www.relishapp.com/myronmarston/vcr/v/1-6-0/docs/configuration/ignore-hosts
I haven't been able to use VCR in tests with :js => true (capybara + selenium)
The first time I run the test it passes and the cassette is recorded.
However, when I use the cassette, the test fails with Unregistered request:
POST http://127.0.0.1:7055/hub/session/..... with body '{"url":"http://subdomain.myapp.com/settings"}'
The url is different every time.
I'm using nginx locally so I can use ssl, *.myapp.com is going to 127.0.0.1:3000, I've set Capybara server_port to on 3000 and Capybara.app_host = "subdomain.myapp.com". Is that what's messing things up?
Same problem here. Have you figured this out?
I'm not getting the port number in the url when firefox launches (only 127.0.0.1). Do I have to specify the port somewhere?
I've been using Slicehost for a few years
this articles helped me a lot: articles.slicehost.com
This works! Thank you!
capybara-prawn?
just joking :)
Any tips on how to test the content of the pdf?
to answer my own question :):
https://www.relishapp.com/myronmarston/vcr/v/1-6-0/docs/configuration/ignore-hosts
I haven't been able to use VCR in tests with :js => true (capybara + selenium)
The first time I run the test it passes and the cassette is recorded.
However, when I use the cassette, the test fails with Unregistered request:
POST http://127.0.0.1:7055/hub/session/..... with body '{"url":"http://subdomain.myapp.com/settings"}'
The url is different every time.
I'm using nginx locally so I can use ssl, *.myapp.com is going to 127.0.0.1:3000, I've set Capybara server_port to on 3000 and Capybara.app_host = "subdomain.myapp.com". Is that what's messing things up?
Same problem here. Have you figured this out?
I'm not getting the port number in the url when firefox launches (only 127.0.0.1). Do I have to specify the port somewhere?