OK,

Given spec/controllers and given this is typical of the structure in
my functional testing subdirectories...

> > api/some_controller_spec.rb
>
> >   describe Api::SomeController, ...

...when I attempt to test everything in the subdirectories from the
root using this command -- rspec spec/controllers, I get the following
error for every test in the subdirectories:

     ActionController::RoutingError:
       No route matches {:controller=>..., :action=>...}

Meanwhile, running rspec at each subdirectory yields expected results
and the controllers function in development.

So, it feels like an rspec configuration thing that I need to adjust
to account for the subdirectories, but what?

Thanks,

Lille
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to