Before you fire this up locally, you’ll need some dependencies installed.
brew install imagemagick
There is a dummy app included in the Engine source. To get it running, follow these steps.
After cloning the repo, cd into Fae and install gems into a gemset on Ruby 2.3.1:
Cd to the dummy app:
Create the DB and migrate:
rake db:migrate && rake db:migrate RAILS_ENV=test
Seed the DB:
Fire up the server:
The dummy app should stay up-to-date with the latest Rails version we support. Running tests against it will run all specs against that version.
Use guard to have specs autorunning as you change files
Appraisal is an amazing gem that allows us to run the specs against multiple versions of Rails. You can find all support versions in the
To run all appraisals, first install all of the gems of the different appraisal versions with:
To run tests in all appraisal versions:
Or you can run a specific version using the name defined in
appraisal rails_4_2 rspec