[rspec-users] Error against latest trunk while testing via spec for model

Deepak Jois deepak.jois at gmail.com
Tue Feb 13 01:33:54 EST 2007

I just did an update to lates trunk
context "Given a generated venue_spec.rb with fixtures loaded" do
  fixtures :venues

  specify "fixtures should load two Venues" do
    Venue.should have(2).records

gives me

TypeError in 'Given a generated venue_spec.rb with fixtures loaded
fixtures should load two Venues'
can't convert nil into String

This was working fine before I did an update. Could anyone tell me
what is going on?

More information about the rspec-users mailing list