[rspec-users] should_eql etc?

Jonathan Linowes jonathan at parkerhill.com
Tue May 29 22:49:09 EDT 2007


thanks

fyi, I've posted the updated files
http://www.vaporbase.com/postings/Rspec_1.0_and_Restful_Authentication


On May 29, 2007, at 9:03 PM, David Chelimsky wrote:

> On 5/29/07, Jonathan Linowes <jonathan at parkerhill.com> wrote:
>> Hi, I'm trying the specs for restful_authentication I found here
>>
>> http://jonathan.tron.name/articles/2007/01/02/rspec-on-rails-restful-
>> authentication
>>
>> It seems to use custom .should methods: should_eql,
>> should_be_an_instance_of, should_redirect_to, should_be_success,
>> should_not_be_nil, should_be_nil, should_not_be_nil, should_be_empty,
>> should_be_success, should_not_change, and  should_not_be_activated
>>
>> Is this using an old version of rspec, and/or do i need to define
>> these methods and how?
>
> Old version. Just replace "should_not_" with "should_not " and then
> "should_" with "should ".
>
>>
>> thanks
>>
>> linoj
>>
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users



More information about the rspec-users mailing list