[rspec-users] Simple code dosn't work

Curtis Schofield curtis at ram9.cc
Thu Apr 5 01:50:21 UTC 2012



--
Curtis J Schofield
BlazingCloud.net

"Creativity can solve anything" 
- George Lois 
  (source: art & copy)

On Apr 4, 2012, at 3:02 PM, Brad Symons <lists at ruby-forum.com> 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


It is this : non?

> j.even?.should be_true

> -- 
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list