http://www.solitr.com/blog/2012/04/konacha-tutorial-javascript-testing-with-rails/