jasminerice icon indicating copy to clipboard operation
jasminerice copied to clipboard

Use with dummy test app for Rails Plugin

Open dnagir opened this issue 13 years ago • 4 comments

Jasminerice doesn't seem to work with the Rails plugin.

rails plugin new mine
cd mine
bundle install
# install the jasminerice
cd tests/dummy
bundle exec rails s
# http://localhost:3000/jasmine -> RoutingError

Is there a way to make it work for the dummy test application?

dnagir avatar Nov 17 '11 04:11 dnagir

The workaround is to require jasminerice from application.rb.

And also load spec/javascript dir to load paths.

dnagir avatar Nov 17 '11 04:11 dnagir

Perhaps add this to wiki

bradphelan avatar Jun 28 '12 20:06 bradphelan

Please, write more about testing with jasminerice in my gem project. Realy I can use dummy app?

KODerFunk avatar Aug 20 '12 08:08 KODerFunk

I wrote a blog post about using Jasmine in a Rails engine which uses jasminerice. It might be useful for anyone finding this.

iHiD avatar Jun 25 '13 22:06 iHiD