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

aslak hellesoy aslak.hellesoy at gmail.com
Tue Feb 13 02:20:16 EST 2007


We need the backtrace. Can you run again with --backtrace

Aslak

On 2/13/07, Deepak Jois <deepak.jois at gmail.com> wrote:
> 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?
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list