diff options
-rw-r--r-- | Gemfile | 2 | ||||
-rw-r--r-- | spec/spec_helper.rb | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -13,7 +13,7 @@ end group :test do gem 'pry' gem 'launchy' - gem 'selenium-webdriver' + gem 'poltergeist' end # Database Configuration diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a9557c4..7b20bf0 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,4 +1,5 @@ require 'rubygems' +require 'capybara/poltergeist' # Configure Rails Environment ENV["RAILS_ENV"] ||= 'test' @@ -17,7 +18,7 @@ RSpec.configure do |config| end # set javascript driver for capybara -Capybara.javascript_driver = :selenium +Capybara.javascript_driver = :poltergeist # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories including factories. |