Hi, I am trying to spec helper methods in a Rails project, but it seems the specs fail with the error: You might have expected an instance of Array. The error occurred while evaluating nil.<< if the restful routes helper are used either in spec files, or the helper file. What can I be doing wrong? Or how can I fix this. Thanks! -- Surendra Singhi ssinghi.kreeti.com, kreeti.com
Nevermind, i just saw an old post mentioning the same issue. Thanks! On 9/4/07, Surendra <singhi.surendra at gmail.com> wrote:> Hi, > I am trying to spec helper methods in a Rails project, but it seems > the specs fail with the error: > > You might have expected an instance of Array. > The error occurred while evaluating nil.<< > > if the restful routes helper are used either in spec files, or the helper file. > > What can I be doing wrong? Or how can I fix this. > > Thanks! > -- > Surendra Singhi > ssinghi.kreeti.com, kreeti.com >-- Surendra Singhi ssinghi.kreeti.com, kreeti.com
lancecarlson at gmail.com
2007-Sep-04 12:08 UTC
[rspec-users] specing helpers fails on restful routes
Yes I was about to forward you to my blog post Sent via BlackBerry from T-Mobile -----Original Message----- From: Surendra <singhi.surendra at gmail.com> Date: Tue, 4 Sep 2007 17:36:52 To:rspec-users at rubyforge.org Subject: Re: [rspec-users] specing helpers fails on restful routes Nevermind, i just saw an old post mentioning the same issue. Thanks! On 9/4/07, Surendra <singhi.surendra at gmail.com> wrote:> Hi, > I am trying to spec helper methods in a Rails project, but it seems > the specs fail with the error: > > You might have expected an instance of Array. > The error occurred while evaluating nil.<< > > if the restful routes helper are used either in spec files, or the helper file. > > What can I be doing wrong? Or how can I fix this. > > Thanks! > -- > Surendra Singhi > ssinghi.kreeti.com, kreeti.com >-- Surendra Singhi ssinghi.kreeti.com, kreeti.com _______________________________________________ rspec-users mailing list rspec-users at rubyforge.org rubyforge.org/mailman/listinfo/rspec-users