Tests not picking up table name changes

I have a model called Index, but the table is called Index. So in my
model, I have
ste_table_name ‘index’

But in tests the fixtures are called indices, so I renamed it and
changed

fixtures :indices
to

fixtures :index

When I try use index(:first), I get a nil error. I don’t know what Im
doing wrong.

Thanks
Joey

Did you change the name of the file as well? (Guessing you did, but
hey, I’ve done weirder things). The other thing you’ll need to do is
clone the structure to the test again if you have any changes in your
dev db.

-Nick