[rspec-users] Newbie question

Pito Salas rps at salas.com
Tue Nov 27 20:33:01 EST 2007


That *was* the whole file. And I think therein lies the problem.

I didn't realize that I needed a class def for Acct. So this, now, works:


class Account
end

describe Account, " when first created" do
  it "should have a balance of $0" do
  end
end

(as I said: newbie :)

Thanks!

Pito


More information about the rspec-users mailing list