diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2014-01-27 11:58:16 +0200 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2014-01-27 11:58:16 +0200 |
commit | 3ac091fa331cb6b5a0dc988f77ab0b953164796a (patch) | |
tree | 887f717f9120dc039ff8fe2974f3c45484578d65 | |
parent | e0bf46690bfc08b4f545f9632a5365797d2346fd (diff) | |
download | refinerycms-blog-3ac091fa331cb6b5a0dc988f77ab0b953164796a.tar.gz refinerycms-blog-3ac091fa331cb6b5a0dc988f77ab0b953164796a.tar.bz2 refinerycms-blog-3ac091fa331cb6b5a0dc988f77ab0b953164796a.zip |
Replace selenium with poltergeist.
-rw-r--r-- | Gemfile | 1 | ||||
-rw-r--r-- | spec/spec_helper.rb | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -11,6 +11,7 @@ gem 'mime-types', '1.25.1' group :test do gem 'refinerycms-testing', github: 'refinery/refinerycms' + gem 'poltergeist' end # Database Configuration diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 4b29712..bc10eff 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -19,7 +19,8 @@ RSpec.configure do |config| end # set javascript driver for capybara -Capybara.javascript_driver = :selenium +require 'capybara/poltergeist' +Capybara.javascript_driver = :poltergeist # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories including factories. |