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

No route matches [GET] /jasmine #120

Closed
runemadsen opened this issue Apr 3, 2013 · 2 comments
Closed

No route matches [GET] /jasmine #120

runemadsen opened this issue Apr 3, 2013 · 2 comments

Comments

@runemadsen
Copy link

I followed the instructions in the README, and I'm getting the following output from guard-jasmine:

vagrant@lucid64:/vagrant$ guard-jasmine spec --verbose
18:24:48 - INFO - Guard::Jasmine starts Unicorn spec server on port 58713 in test environment (coverage off).
I, [2013-04-03T18:24:48.761952 #14423]  INFO -- : listening on addr=0.0.0.0:58713 fd=7
I, [2013-04-03T18:24:48.762099 #14423]  INFO -- : worker=0 spawning...
I, [2013-04-03T18:24:48.763095 #14423]  INFO -- : master process ready
I, [2013-04-03T18:24:48.763589 #14428]  INFO -- : worker=0 spawned pid=14428
I, [2013-04-03T18:24:48.763756 #14428]  INFO -- : Refreshing Gem list
18:24:48 - INFO - Waiting for Jasmine test runner at http://localhost:58713/jasmine
I, [2013-04-03T18:24:53.874601 #14428]  INFO -- : worker=0 ready
E, [2013-04-03T18:24:54.706076 #14428] ERROR -- : app error: No route matches [GET] "/jasmine" (ActionController::RoutingError)

I'm using the jasmine gem without the asset pipeline:

gem 'rails', '3.2.13'

[...]

group :test, :development do
  gem "rspec-rails", "~> 2.0"
  gem "poltergeist"
  gem "capybara"
  gem 'jasmine'
  gem 'guard-jasmine'
end

phantomjs is working with my capybara tests, so that's not the problem. I can also run my jasmine tests in a browser by running rake jasmine, so that's working too.

Is there a step missing in the README? Is there any setup I need to do, or is something broken in the gem?

@runemadsen
Copy link
Author

Might be related to #102 and a missing release since then?

@runemadsen
Copy link
Author

Okay, reading through a bunch of issues, it seems like I need to run guard-jasmine like this:

guard-jasmine spec --server=jasmine_gem

Sending a doc pull request in a second. It wasn't quite obvious from the README

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

No branches or pull requests

1 participant