Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use with dummy test app for Rails Plugin #25

Open
dnagir opened this issue Nov 17, 2011 · 4 comments
Open

Use with dummy test app for Rails Plugin #25

dnagir opened this issue Nov 17, 2011 · 4 comments

Comments

@dnagir
Copy link
Contributor

dnagir commented Nov 17, 2011

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
Copy link
Contributor Author

dnagir commented Nov 17, 2011

The workaround is to require jasminerice from application.rb.

And also load spec/javascript dir to load paths.

@bradphelan
Copy link
Owner

Perhaps add this to wiki

@KODerFunk
Copy link

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

@iHiD
Copy link

iHiD commented Jun 25, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants