01 Nov '12, 3pm

Using Capybara to test JavaScript that makes HTTP requests

Tools like WebMock are great, but when testing JavaScript, it’s a seperate browser process that loads the page, and not your Ruby test process. That means that the request to your build server isn’t going through Net::HTTP ; the requests are coming from Firefox or capybara-webkit , and those tools are gleefully unaware of your feeble attempts to reroute HTTP traffic. Fortunately, there are only two steps remaining towards the testing Holy Grail:

Full article: http://robots.thoughtbot.com/post/34761570235/using-capyb...

Tweets

Using Capybara to test JavaScript that makes HT...

rubyflow.com 01 Nov '12, 7pm

We've seen lots of Rails app test suites that use WebMock to disable HTTP requests. There is also good tools like VCR and ...

Would you like to test the submission requireme...

gbca.org.au 02 Nov '12, 3am

Over the past 12 months, the Green Star – Performance Technical Working Group (TWG) has been working to develop credit cri...

Two Technologies Proven Effective in #GSA Test ...

buildinggreen.com 31 Oct '12, 3pm

Newsbrief from Environmental Building News Two Technologies Proven Effective in GSA Test Beds By Erin Weaver Two new feder...

New video! @Xiaxue conducts a blind test with N...

clicknetwork.tv 01 Nov '12, 6am

Xiaxue gets girls to blind test different leading tinted moisturisers to find out which is their favourite. This video is ...