Quoting secureboot <
secur...@gmail.com>:
> I'm using shoulda (2.11.3) and rails 3.0.0.rc2.
>
> When I add new models, all my shoulda tests try to run all inserts on
> the new table.
>
> To elaborate: let's say I create a new model post. My user tests all
> start failing, with:
>
> table users has no column named post_name: INSERT INTO "posts"
I think your test database is out of sync with your models. Try
running db:migrate on test:
RAILS_ENV=test rake db:migrate
If that doesn't work, try dropping, recreating, and remigrating your
test db.
--
Cynthia Kiser
c...@caltech.edu