How to configure PostgreSQL's test database before testing?

RAILS_ENV=test rake db:migrate

Or you might have to specify:

RAILS_ENV=test rake db:migrate:up VERSION={put your migration number here}

It’s likely that the normal db:test:prepare task doesn’t support these extensions.

-Rob