aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2014-01-27 11:58:16 +0200
committerUģis Ozols <ugis.ozolss@gmail.com>2014-01-27 11:58:16 +0200
commit3ac091fa331cb6b5a0dc988f77ab0b953164796a (patch)
tree887f717f9120dc039ff8fe2974f3c45484578d65
parente0bf46690bfc08b4f545f9632a5365797d2346fd (diff)
downloadrefinerycms-blog-3ac091fa331cb6b5a0dc988f77ab0b953164796a.tar.gz
refinerycms-blog-3ac091fa331cb6b5a0dc988f77ab0b953164796a.tar.bz2
refinerycms-blog-3ac091fa331cb6b5a0dc988f77ab0b953164796a.zip
Replace selenium with poltergeist.
-rw-r--r--Gemfile1
-rw-r--r--spec/spec_helper.rb3
2 files changed, 3 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 6ba6013..f8a173e 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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.