fixtures using wrong database table

Hello,

I have a model that sets it's table_name to something:
MyModel < ActiveRecord::Base
  self.table_name = 'some_funky_table'
end

Now when I try to run the unit test for it:
ruby tests/unit/my_model_test.rb

I get an error:
relation "my_models" does not exist

How can I get the fixtures to recognize that I'm using a model with an
overridden table_name attribute?

Thank you for the help.