21 Apr '13, 9am

Some good tips here for running poltergeist and phantomjs with capybara

PhantomJS allows us to test JavaScript without going through a browser window. Here I show how to do this using Capybara and Poltergeist. I also give some tips on handling database transactions and skipping javascript tests.

Full article: http://railscasts.com/episodes/391-testing-javascript-wit...