[rspec-users] Cucumber - RSpec matcher

James Byrne lists at ruby-forum.com
Mon Mar 9 15:48:18 EDT 2009


David Chelimsky wrote:
>
> No, no, no :)
> 
> 5.should == 5
> 6.should be > 5
> 
> Read them aloud and they.should make(:sense).
> 
> Cheers,
> David

Perhaps it is my dialect, but what is wrong with:

   "5 should be equal to 5"

which generally is how I read "=="?  Actually, I tend to read "==" (in 
Ruby) as "is equal to".
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list