Example app for demonstrating BDD in a Rails application. Application is a simplistic clone of the EventBright service.
Developed to supplement TDD/BDD Presentation by Pete Brown of Draker Labs given at the Burlington Web App Group on Oct. 26th, 2011.
To download and play around with this application you will need to have a functional Ruby/Rails environment in a unix based OS.
- Install Ruby - RVM recommended
- Install RubyGems (installed by RVM)
- Install Bundler
gem install bundler
- Install MySQL
Once you have your development environment ready simply:
- Clone this repo
- Change into the application directory (probably EventDart)
- Copy
config/database.yml.example
to 'config/database.yml` and edit with your DB credentials. - Run
bundle install
- Run
rake db:create:all
- Run cucumber scenarios:
cucumber
- Run rspec unit tests:
rspec spec/
- Begin Red-Green-Refactor process!