[rspec-users] Split controller specs

Ashley Moran work at ashleymoran.me.uk
Wed Jun 27 11:22:49 EDT 2007


Hi, me again...

I just wondered, how many people here have found that controller  
specs become unmanageably long very quickly?  I've just started  
splitting mine up into spec/controllers/my_controller/ 
my_action_spec.rb etc.  Maybe it is just the unusual nature of my app  
(a wizard-type site that guides you through choosing and paying for  
an insurance product) -  I'm sure as it expands I will end up  
separating out things into separate controllers.

Ashley



More information about the rspec-users mailing list