diff options
-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. |