[rspec-users] Specs for ApplicationController, where to put them?

David Chelimsky dchelimsky at gmail.com
Thu May 31 06:47:14 EDT 2007

On 5/31/07, Wincent Colaiuta <win at wincent.com> wrote:
> El 30/5/2007, a las 1:52, David Chelimsky escribió:
> > Another thing you could do is to put shared behaviours in spec/shared/
> > and require everything in spec/shared from spec/spec_helper.
> Do you think it's worth updating the test mappings in rspec_on_rails/
> lib/autotest/rails_rspec.rb to reflect this convention (ie. run all
> specs whenever anything in spec/shared gets touched)?
> I also wonder if this is enough of a convention, perhaps rspec/lib/
> autotest/rspec.rb should be updated as well. Speaking of which, I see
> that currently it only has one-to-one test mappings set up but it
> should probably run all the specs whenever spec_helper.rb is updated.
> Let me know if you want a patch for that.

Sounds like a good idea - please post to the tracker:

> Cheers,
> Wincent
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list