Setup development env
-
git clone https://github.com/XpaH/Svadba.org.git
-
cd directory
-
bundle install(resolving problems)
-
copy config.yml.example and database.yml.example to config.yml and database.yml
-
change adapter in database.yml to
-
rake db:create db:migrate
#Testing
We are using rspec as test lib. For better testing you can use 2 gems spin kicker
If you don't want use this libs, run your tests as usual
rspec
-
ruby gem install spin
-
ruby gem install kicker -s http://gemcutter.org
-
ruby spin serve
-
cd project derectory and run ```ruby kicker -r rails -b 'spin push'
See test's results in console window, where you run spin serve. If you
use mac os x as a develop platform, notifications will be performed in
top right corner of screen.