In my Rails app I have a hidden little form, which is made visible by clicking a button. This is done with some jQuery "hide" and "show" commands, the form itself is pretty much standard stuff.
To test this I can use Selenium Webdriver, but it seems a bit heavy to startup a Firefox browser only for clicking that button with jQuery functionality. Are there any alternatives to do this more lean and simple?
Edit: there is a nice Railscast about using PhantomJS together with Rails and rspec: http://railscasts.com/episodes/391-testing-javascript-with-phantomjs