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
___
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
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
__
> 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
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