Database error when running Test

You'll need to setup a test database as well if your trying to run
Unit Tests etc.
Rails uses different DB's for dev, test and production

Convention would be the following:
   adapter: mysql
   database: emporium_test
   username: root
   password: root
   host: localhost
   socket: /Applications/MAMP/tmp/mysql/mysql.sock

Add that to you database.yml file first and then make a new DB called
emporium_test and all should be fine.


Al Cholic wrote: