bradphelan/jasminerice — Issue #24: Question: Multiple Environments?
Author: andyl
Created: 2011-11-10 21:57:37+00:00
State: open

From the Readme, it looks like you can establish only one jasmine rice environment:
- CoffeeScript: spec/javascripts/spec.js.coffee
- StyleSheet: spec/javascripts/spec.css
- Goto: http://localhost:3000/jasmine

I'd like to organize my tests into separate suites. Is there a way to establish multiple environments with jasminerice? Something like this is routes.rb:

mount Jasminerice::Engine => "/suite1", :spec => "spec/javascripts/suite1.js.coffee"
mount Jasminerice::Engine => "/suite2", :spec => "spec/javascripts/suite2.js.coffee"

Tx, Andy