[rspec-users] Simple code dosn't work

Julian Leviston julian at leviston.net
Thu Apr 5 01:24:06 UTC 2012


On 05/04/2012, at 8:02 AM, Brad Symons wrote:

> I think you have a syntactical error on the line thats throwing the 
> error, you state:
> 
>>        j.even?should be true     #throws an error on j == 2, j == 4
> 
> should this line not read as:
> 
> j.even?.should be true

lol

j.even?.should be_true

you mean?


More information about the rspec-users mailing list