On Dec 01, 2009, at 4:46 pm, Lenny Marks wrote: > This seems dangerous to me. Assuming I hadn't initially stubbed in the before > block and everything worked as expected, if someone later stubs :lookup in > the before block because they are adding new examples that don't care about > it, my explicit example becomes misleadingly useless. > > Does this surprise anyone else?
Hi Lenny Yes it does, so much so that I filed a ticket[1] :) Well, I think it's the same issue. If so, maybe you'll find the discussion between me and David useful. HTH Ashley [1] https://rspec.lighthouseapp.com/projects/5645/tickets/618-exactlyntimes-incorrectly-failing-for-n-actual -- http://www.patchspace.co.uk/ http://www.linkedin.com/in/ashleymoran _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users