I'd like to know:
How do you test your javascript in your Rails App?
I used to do Integration Tests with capybara, but now that I'm working on a map-based solution with rails, that has a far more complex javascript part than the rails part, capybara feels really kludgy.
Also, I'd like to execute javascript tests that not only test the interface, but also particular javascript functions.
I heard about mocha, but I don't really know if its possible to integrate it so that my test are executed on my CI Server?
Thanks