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

Deepak Jois
Tue, 13 Feb 2007 06:33:54 -0000

Hi
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
  end
end
=================
gives me

=========1)
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?