Simple Rails App to reproduce jonleighton/poltergeist#44
cd /your/project/place && git clone git@github.com:goosetav/true_type_bug.git
bundle install
- BYOWS - wire it up to serve locally (I use http://pow.cx)
- run spec
bundle exec rspec
-- this should cause a crash (under Mac OSX Mountain Lion at least)
- update the URL in
test-phantom.js
to point at wherever the code is running - (in root of the project)
phantomjs test-phantom.js
-- this will not crash and instead takes two screenshots
- goto
apps/assets/application.css.scss
- comment out line #20
@import 'true_type_bug'
bundle exec rspec
-- this will not fail now