[rspec-users] Design Pattern proposal for better Rails development

Fernando Perez lists at ruby-forum.com
Wed Nov 5 09:53:49 EST 2008


> I don't think this is a problem.
> 
> Pat

Don't you find it painful to go through each controller and/or each 
controller spec to correct the name of the method that has just changed?

So you don't mind having to change in many different places 
should_receive(:find_if_purchased) to 
should_receive(:find_if_subscribed) ?
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list