[rspec-users] should_eql etc?

David Chelimsky dchelimsky at gmail.com
Tue May 29 21:03:41 EDT 2007


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
>


More information about the rspec-users mailing list