From: Gennady Bystritsky Date: 2007-01-16T02:32:35+09:00 Subject: Re: possible to un-warn? David Chelimsky wrote: >> >> Is now the appropriate time for me to re-suggest: >> @hotel.should.be_booked_solid_on "12/31/2007" > > YES!!!!!!!!!!! > > Inspired by your question, I played around for a minute w/ a means of > supporting all three sets of syntax w/ one set of matchers. The result > is not complete yet, but right now the trunk supports all of these > forms for some of the expections: > > result.should_equal 5 > result.should.equal 5 > result.should equal(5) > > When I'm done, you'll be able to use most of the expectations with any > of the three forms, though using the "_" or "." forms for custom > expectations will require monkey patching an RSpec class, so it will > be an "at your own risk" sort of scenario. > > Thanks for bringing this up Wilson! > > Cheers, > David You may have missed it, but it was exactly what I have suggested (or imlied to suggest) in my first reply to you ;-) Anyways, glad the idea got through other channels :-) Gennady.