Spec.js is a testing framework built on top of Mozilla Rhino and Env.js. The idea is that you can run JavaScript tests without opening browsers, even for DOM manipulation.
Nando Vieira
gem "spec-js", "~> 0.1.0.beta.3"