mirror of
https://github.com/teampoltergeist/poltergeist.git
synced 2022-11-09 12:05:00 -05:00
Update README.md.
This commit is contained in:
parent
31901f4fec
commit
30464ec296
1 changed files with 8 additions and 2 deletions
10
README.md
10
README.md
|
@ -22,7 +22,13 @@ to read the bug reporting guidance below).
|
||||||
|
|
||||||
## Installation ##
|
## 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
|
``` ruby
|
||||||
require 'capybara/poltergeist'
|
require 'capybara/poltergeist'
|
||||||
|
@ -82,7 +88,7 @@ was 1.0.2, so you should use that if you still need Ruby 1.8 support.
|
||||||
There are no special steps to take. You don't need Xvfb or any running X
|
There are no special steps to take. You don't need Xvfb or any running X
|
||||||
server at all.
|
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
|
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
|
you're getting errors on a CI that don't occur during development then
|
||||||
|
|
Loading…
Add table
Reference in a new issue