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

David Chelimsky dchelimsky at gmail.com
Tue Sep 21 21:05:06 EDT 2010


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


More information about the rspec-users mailing list