On 2 Dec 2008, at 19:25, Pat Maddox wrote:

Given ...
 Postie.count.should == 0
end

It's just an assertion (in the C sense of the word, not testing).  You
should be starting off with a clean slate anyway...but having a couple
assertions before you run can be very helpful for localization.  Plus
this step can obviously be reused as a When.

Nice idea!  That kind of sanity checking can't hurt.

Ashley

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



_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to