[rspec-users] rspec-rails setup in Rails 3
jko170 at gmail.com
Mon Sep 13 22:08:44 EDT 2010
It looks like you started your integration spec with "context". Try
starting it (top level) with "describe". Think of context as "setting
the context for what you are describing".
Let us know if that fixes it.
On Sep 9, 1:46 pm, Lee Smith <autige... at gmail.com> wrote:
> I'm missing something in my setup of rspec-rails in a rails 3
> project. I've included the link to the gist. It seems that it
> doesn't recognize rails routes for some reason...getting "undefined
> local variable or method". The spec file I'm running is sitting in
> spec/integration, if that matters. Thanks for any help.
> ruby 1.9.2p0
> rails 3.0.0
> rspec-rails 2.0.0.beta.20
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users