[rspec-users] spec for not null

2009-05-25 Thread Diwakar, ANGLER - EIT
how should we check not null in rspec user_valid = @user.valid? password_credential_valid = @password.valid? I am getting the below error Mock 'User_1001' received unexpected message :valid? with (no args) Diwa ___

Re: [rspec-users] spec for not null

2009-05-25 Thread David Chelimsky
On Mon, May 25, 2009 at 6:51 AM, Diwakar, ANGLER - EIT wrote: > how should we check not null in rspec > > user_valid = @user.valid? >     password_credential_valid = @password.valid? > > >    I am getting the below error > >     Mock 'User_1001' received unexpected message :valid? wit

[rspec-users] [rspec] http://rspec.info examples are broken

2009-05-25 Thread Jarmo Pertman
It seems that some examples at http://rspec.info are broken with invalid html. For example: http://rspec.info/documentation/before_and_after.html All those spans there should not be visible, I think :) Isn't rspec.info web tested well enough? :P Best regards, Jarmo __

Re: [rspec-users] [rspec] http://rspec.info examples are broken

2009-05-25 Thread aslak hellesoy
> It seems that some examples at http://rspec.info are broken with > invalid html. > > For example: http://rspec.info/documentation/before_and_after.html > I assume you're referring to: http://validator.w3.org/check?uri=http%3A%2F%2Frspec.info%2Fdocumentation%2Fbefore_and_after.html&charset=(detec

Re: [rspec-users] [rspec] http://rspec.info examples are broken

2009-05-25 Thread David Chelimsky
On Mon, May 25, 2009 at 3:43 PM, aslak hellesoy wrote: >> It seems that some examples at http://rspec.info are broken with >> invalid html. >> >> For example: http://rspec.info/documentation/before_and_after.html >> > > I assume you're referring to: > http://validator.w3.org/check?uri=http%3A%2F%2