From 8ee3154f227596b00fbd070f11eb04583d65644c Mon Sep 17 00:00:00 2001 From: Jason Guiditta Date: Fri, 28 Sep 2012 16:27:43 -0400 Subject: [PATCH] Update the setup directions and add 'running app' section. --- README.rdoc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.rdoc b/README.rdoc index 9b85f30..1521f32 100644 --- a/README.rdoc +++ b/README.rdoc @@ -4,12 +4,20 @@ Tests are run from the project root directory. But are run in the context of the dummy app located under test/dummy. In order to run the tests you must first setup dummy app database. -cd test/dummy; rake db:setup; rake test:prepare +rake db:setup; rake -f test/dummy/Rakefile test:prepare Once you have done this cd to the project root and run the following: rake spec -rake cucumber + +== Running the Dummy app + +This will allow you to runn the commands below to test out the engine +in isolation (if mounted in another application, the main difference +will just be where the engine gets mounted, so adjust your url +accordingly). + +cd test/dummy; rails s == API Reference