On 29 Jul 2007, at 22:45, David Chelimsky wrote: > Changing state between expectations in one example is a TDD no-no. The > reason is that if "project.should be_active" fails, you might do > something to fix it and then find that "project.should_not be_active" > fails.
Glad I spotted this - I think I'm guilty of this one. I've dumped a copy on the RSpec style page on our wiki <http://www.codeweavers.net/ wiki/bin/view/RSpecCollab/WebHome> until I get chance to tidy it up Ashley _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users