[rspec-users] Design Pattern proposal for better Rails development
dchelimsky at gmail.com
Wed Nov 5 10:02:37 EST 2008
On Wed, Nov 5, 2008 at 8:53 AM, Fernando Perez <lists at ruby-forum.com> wrote:
>> I don't think this is a problem.
> 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) ?
Personally, no, I don't. It takes a minute with find and replace.
Are you thinking that this is somehow related to the DRY principle?
More information about the rspec-users