Database Views in Rails 2.2


we have a problem upgrading from Rails 2.1.2 to Rails 2.2 because of
some Database Views (PostgreSQL) we use.

rake db:test:clone_structure

is copying the necessary Database Views to the test database. But when
I run rake test/spec I see the line

FATAL: database "<name>_test" does not exist

every time I run rake test/spec. After running the tests the Views
which did exist after clone_structure do not exist any more.

Is there a way to fix this?