README.md in jasminerice-0.0.4 vs README.md in jasminerice-0.0.5
- old
+ new
@@ -12,13 +12,15 @@
This is a gem specifically for Rails 3.1. Just include it in
your Gemfile so
gem "jasminerice"
-Now add a route to the end of your config.routes
+Now add a route to the end of your config.routes but only for development and test
- mount Jasminerice::Engine => "/jasmine"
+ if ["development", "test"].include? Rails.env
+ mount Jasminerice::Engine => "/jasmine"
+ end
Create a single file called
specs/javascripts/spec.js.coffee
@@ -63,10 +65,10 @@
rails s
Goto
- http://localhost:3000/jasminerice
+ http://localhost:3000/jasmine
and there are your specs.
Questions: