[rspec-users] Failure/Error: Unable to find matching line from backtrace can't convert nil into String

Bruno Cardoso bcardoso.home at gmail.com
Wed Sep 22 05:39:40 EDT 2010


Hi David,

Thanks for the reply but that didn't fix my problem.

I think this is somehow related to fixtures, at least I only get this
problem on the specs that use fixtures and if I remove the fixtures,
it works.

On Sep 22, 2:05 am, David Chelimsky <dchelim... at gmail.com> wrote:
> On Sep 21, 2010, at 10:58 AM, Bruno Cardoso wrote:
>
> > I'm getting this errors from this spec:http://pastie.org/private/lm9nrqnmhqobs1avf3skgw
>
> > Failures:
> >  1) Account Account should have a relation belongs to with customer
> >     Failure/Error: Unable to find matching line from backtrace
> >     can't convert nil into String
> >     # D:\ruby\rubies\jruby-1.5.2\bin\rspec:19
>
> > The spec is very simple. This was working with rails2+rspec1.3.... I'm
> > using rails3+rspec2 now. The error message is not very clear.
>
> > Any idea why this happens?
>
> http://github.com/rspec/rspec-core/issues#issue/146
> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list