diff options
| author | Luc Donnet | 2015-02-09 16:01:02 +0100 |
|---|---|---|
| committer | Luc Donnet | 2015-02-09 16:01:02 +0100 |
| commit | 138ac002693df4d8af5f5b1a7af12f4042fab297 (patch) | |
| tree | d7096b54b2820eeb5f39e5ae368fcac033056a6e /spec/spec_helper.rb | |
| parent | 212451cd1f0df5f15595a2a65883a84a88682741 (diff) | |
| download | chouette-core-138ac002693df4d8af5f5b1a7af12f4042fab297.tar.bz2 | |
Initialize first javascript rspec tests
Diffstat (limited to 'spec/spec_helper.rb')
| -rw-r--r-- | spec/spec_helper.rb | 5 |
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 # |
