Ruby on Rails FAQ
What's the correct way to load a schema into a test database?
Run the command:
rake db:test:prepare