[rspec-users] [rspec] be_something accepts nils

Ashley Moran ashley.moran at patchspace.co.uk
Fri Mar 13 16:29:36 EDT 2009


On 13 Mar 2009, at 16:34, Matt Wynne wrote:

>> The expanded form of
>> @cow.should_not be_hungry
>> is
>> @cow.hungry?.should_not be
>>
>> Pat
>
> Like yoda sounds, that does

And enlightened, I am =)

Thanks Pat

-- 
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran
http://aviewfromafar.net/
http://twitter.com/ashleymoran








More information about the rspec-users mailing list