[rspec-users] specing helpers fails on restful routes

Surendra singhi.surendra at gmail.com
Tue Sep 4 08:06:52 EDT 2007


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
> http://ssinghi.kreeti.com, http://www.kreeti.com
>


-- 
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com


More information about the rspec-users mailing list