[rspec-users] A smarter autospec?

Ashley Moran ashley.moran at patchspace.co.uk
Sun Nov 9 12:26:47 EST 2008


On Nov 09, 2008, at 5:05 pm, Fernando Perez wrote:

> Let's say I change a method in one of my models in a Rails app.
>
> I hit save: autospec kicks in and starts specing.
>
> But I haven't yet edited my spec(s) to the new method name so the  
> specs
> will obviously fail, but I already know that. So I edit my specs.
> Autospec will run a second time (or even more if more than one spec  
> file
> is changed).

Why are you routinely changing the code without updating the specs in  
advance?

Ashley

-- 
http://www.patchspace.co.uk/
http://aviewfromafar.net/



More information about the rspec-users mailing list