tararoys/VittleVitals — pull request #54 by tararoys (2014-03-24 14:21:49+00:00)
Title: Tlr add testing suite

Our project now has

1. Rspec for unit tests (for testing individual functions)
2. Capybara (testing program flow)

Everyone will probably need to rebundle. Also, the first time you try to run the testing suite, you will get an error message.

The solution: run this command:

bin/rake db:migrate RAILS_ENV=test

The explanation:
The error message will tell you the following: Migrations are pending; This is because the testing suite uses a completely different database than our development suite. Running the command the error message suggests will help set up the test database.