aboutsummaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 15951834e..c831d2490 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -7,6 +7,7 @@ require 'rspec/rails'
# Add this to load Capybara integration:
require 'capybara/rspec'
require 'capybara/rails'
+require 'capybara/poltergeist'
# FIXME FactoryGirl not found in jenkins build #13
unless defined?(FactoryGirl)
@@ -39,6 +40,10 @@ ActiveRecord::Migration.maintain_test_schema!
RSpec.configure do |config|
#Capybara.exact = true
+ Capybara.javascript_driver = :webkit
+ config.filter_run_excluding :js => true
+ config.run_all_when_everything_filtered = true
+ config.include TokenInputHelper, :type => :feature
# ## Mock Framework
#