On 9 Nov 2008, at 17:05, 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).
But I haven't yet edited my controller(s) to reflect the new
change(s),
so I edit more files and save, therefore Autospec will run again.
In such case (which happens often), autospec has been running a few
times for nothing. Would it be possible to implement a sort of timeout
(like 10") to let us make additional changes to other files before
autospec starts his job? It's pretty annoying to have growl display
plenty error messages as we already know specs will fail.
Personally, I draw great comfort from those error messages.
http://www.google.co.uk/search?q=red+green+refactor
cheers,
Matt
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users