README.md in poltergeist-1.8.1 vs README.md in poltergeist-1.9.0
- old
+ new
@@ -20,13 +20,19 @@
GitHub](https://github.com/teampoltergeist/poltergeist/issues) (and be sure
to read the bug reporting guidance below).
## Installation ##
-Add `poltergeist` to your Gemfile, and in your test setup add:
+Add this line to your Gemfile and run `bundle install`:
``` ruby
+gem 'poltergeist'
+```
+
+In your test setup add:
+
+``` ruby
require 'capybara/poltergeist'
Capybara.javascript_driver = :poltergeist
```
If you were previously using the `:rack_test` driver, be aware that
@@ -80,10 +86,10 @@
## Running on a CI ##
There are no special steps to take. You don't need Xvfb or any running X
server at all.
-[Travis CI](https://travis-ci.org/) has PhantomJS pre-installed.
+[Travis CI](https://travis-ci.org/) and [Codeship](https://codeship.com/) has PhantomJS pre-installed.
Depending on your tests, one thing that you may need is some fonts. If
you're getting errors on a CI that don't occur during development then
try taking some screenshots - it may well be missing fonts throwing
things off kilter. Your distro will have various font packages available