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

  2) Account Account should have a relation belongs to with account
status
     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

  3) Account Account should have a has many relation with account
managers
     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

  4) Account Account should have a has many relation with account
relations
     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

  5) Account Account should be possible to create an account with only
status, b
ucket and creation_date
     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

  6) Account Account should return an error if bucket is nil
     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?
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to