aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnita Graham <anita@joli.com.au>2015-02-24 21:04:39 +0800
committerAnita Graham <anita@joli.com.au>2015-02-24 21:04:39 +0800
commitf439d75923f4af0d432b6e48a5f696a8c18dea64 (patch)
treed8ec57fa18d57de7442e60f66bb5e8ee2a4571d4
parent733b86dbd2e0a9dd8e5fe7452d1b5def9b7f54a0 (diff)
downloadrefinerycms-blog-f439d75923f4af0d432b6e48a5f696a8c18dea64.tar.gz
refinerycms-blog-f439d75923f4af0d432b6e48a5f696a8c18dea64.tar.bz2
refinerycms-blog-f439d75923f4af0d432b6e48a5f696a8c18dea64.zip
Switch to poltergeist from selenium
-rw-r--r--Gemfile2
-rw-r--r--spec/spec_helper.rb3
2 files changed, 3 insertions, 2 deletions
diff --git a/Gemfile b/Gemfile
index 935dda4..79f0594 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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.