Simple Ruby TDD setup
When I teach someone Ruby, I always need the simplest possible TDD setup.
To install all required gems run:
$ gem install bundler $ bundle install $ rbenv rehash # Only if you use Rbenv
To run the tests with coverage (default)
$ rspec . Finished in 0.0002 seconds 1 example, 0 failures Coverage report generated for RSpec to ./coverage. 3 / 3 LOC (100.0%) covered.