jspec-rails icon indicating copy to clipboard operation
jspec-rails copied to clipboard

No route matches "/jspec/spec/jspec_rails_spec.js" with {:method=>:get}

Open mattbeedle opened this issue 15 years ago • 3 comments

After following installing the plugin, and running jspec_init when I navigate to the /jspec page I see this error in the server log:

No route matches "/jspec/spec/jspec_rails_spec.js" with {:method=>:get}

to solve this I had to create a symlink from my pubilc/jspec/spec to /jspec/spec.

Is this a problem with jspec_init putting the files in the wrong place? Or am I doing something wrong?

mattbeedle avatar Jul 08 '09 13:07 mattbeedle

oh, and btw, this looks awesome. I'm really looking forward to writing some tests this afternoon!

mattbeedle avatar Jul 08 '09 13:07 mattbeedle

JSpec's core has some Rails support now. It is pretty basic but has no prototype dependencies.

tj avatar Jul 12 '09 18:07 tj

http://visionmedia.github.com/jspec/rails.html

tj avatar Jul 12 '09 18:07 tj