qunited-rails runs headless QUnit tests with QUnited in your Rails 3 project.
Add the following to your Gemfile in your Rails 3 project:
group :test, :development do gem 'qunited-rails' end
The development group is necessary to run Rake tasks without having to type RAILS_ENV=test.
Next run Bundler to install the necessary gems.
Tests are run with PhantomJS if available, otherwise Rhino (Java) is used. This means you'll either need to have PhantomJS or Java (version 1.1 minimum) in your path to use qunited-rails.
qunited-rails is MIT licensed