Template for web application based upon Ruby Sinatra featuring:
- ActiveRecord with sqlite3
- RSpec
- Capybara with racktest driver
- Test environment already configured
Setup the database (the current database is sqlite3)
> bundle install
> rake db:create
> rake db:migrate
Run the tests (and setup the test DB)
> rake test
> rackup -p 9999
> rake console
to open a pry console with the project environment loaded