aboutsummaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorPhilip Arndt <git@p.arndt.io>2015-03-05 11:52:10 +1300
committerPhilip Arndt <git@p.arndt.io>2015-03-05 12:38:47 +1300
commitb4064c760b80c99850527d50984cc6e611168a05 (patch)
tree69ac21bb3dc134bf8934ad4f347e47187f88d7c5 /spec/spec_helper.rb
parentdff7379738dd1318783dd3135a59a480d3f1432f (diff)
downloadrefinerycms-blog-b4064c760b80c99850527d50984cc6e611168a05.tar.gz
refinerycms-blog-b4064c760b80c99850527d50984cc6e611168a05.tar.bz2
refinerycms-blog-b4064c760b80c99850527d50984cc6e611168a05.zip
Fixed test failures relating to not finding the title.
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 7b20bf0..bddb8bc 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,4 @@
require 'rubygems'
-require 'capybara/poltergeist'
# Configure Rails Environment
ENV["RAILS_ENV"] ||= 'test'
@@ -18,6 +17,7 @@ RSpec.configure do |config|
end
# set javascript driver for capybara
+require 'capybara/poltergeist'
Capybara.javascript_driver = :poltergeist
# Requires supporting files with custom matchers and macros, etc,