From 9fac59a985175a07cd81df2d03fb6cd5b1790529 Mon Sep 17 00:00:00 2001 From: Magnus Bergmark Date: Wed, 24 Oct 2012 15:53:21 +0200 Subject: [PATCH] Add instructions on how to run tests in Readme.markdown --- Readme.markdown | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Readme.markdown b/Readme.markdown index 47e4f54..2cde4ea 100644 --- a/Readme.markdown +++ b/Readme.markdown @@ -366,6 +366,18 @@ For automatic decoration, check out [decorates_before_rendering](https://github. 4. Push to the branch (`git push origin my_awesome_branch`) 5. Send pull request +## Running tests + +If it's the first time you want to run the tests, start by creating the dummy database: + +``` +$ pushd spec/dummy +$ rake db:migrate db:test:prepare +$ popd +``` + +You can then run tests by executing `rake`. + ## Contributors Draper was conceived by Jeff Casimir and heavily refined by Steve Klabnik and a great community of open source contributors.