aboutsummaryrefslogtreecommitdiffstats
path: root/spec
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 /spec
parente0bf46690bfc08b4f545f9632a5365797d2346fd (diff)
downloadrefinerycms-blog-3ac091fa331cb6b5a0dc988f77ab0b953164796a.tar.gz
refinerycms-blog-3ac091fa331cb6b5a0dc988f77ab0b953164796a.tar.bz2
refinerycms-blog-3ac091fa331cb6b5a0dc988f77ab0b953164796a.zip
Replace selenium with poltergeist.
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb3
1 files changed, 2 insertions, 1 deletions
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.