Re: [rspec-users] Simple code dosn't work

2012-04-11 Thread Cynthia Kiser
Quoting Zach Dennis : > On Wed, Apr 11, 2012 at 12:47 PM, Alex Chaffee wrote: > j.even?should be true > > > >>> j.even?.should be true > > > >> j.even?.should be_true > > > > Not to ignite a flame war, but this is my biggest problem with RSpec: Unless > > you're an expert at Ruby syntax alrea

Re: [rspec-users] Simple code dosn't work

2012-04-11 Thread Zach Dennis
On Wed, Apr 11, 2012 at 12:47 PM, Alex Chaffee wrote: j.even?should be true > >>> j.even?.should be true > >> j.even?.should be_true > > Not to ignite a flame war, but this is my biggest problem with RSpec: Unless > you're an expert at Ruby syntax already, it's really easy to make > punctuati

Re: [rspec-users] Simple code dosn't work

2012-04-11 Thread Alex Chaffee
>>> j.even?should be true >> j.even?.should be true > j.even?.should be_true Not to ignite a flame war, but this is my biggest problem with RSpec: Unless you're an expert at Ruby syntax already, it's really easy to make punctuation mistakes. And of course, it should be j.should be_even (thoug

Re: [rspec-users] Simple code dosn't work

2012-04-04 Thread Julian Leviston
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

Re: [rspec-users] Simple code dosn't work

2012-04-04 Thread Curtis Schofield
-- Curtis J Schofield BlazingCloud.net "Creativity can solve anything" - George Lois (source: art & copy) On Apr 4, 2012, at 3:02 PM, Brad Symons wrote: > I think you have a syntactical error on the line thats throwing the > error, you state: > >>j.even?should be true #throw

Re: [rspec-users] Simple code dosn't work

2012-04-04 Thread Brad Symons
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 -- Posted via http://www.ruby-forum.com/. _