diff options
author | Stan Hu <stanhu@gmail.com> | 2017-04-02 06:23:18 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-04-02 08:49:22 +0300 |
commit | c0564c549deaff44268622bfc26c81ec0c73dae7 (patch) | |
tree | 0a5c44f06a210c975ae17eed2fc96fe6378366a7 /features/support | |
parent | 731d574d9359eca8cd37ef46e525bbc9603837a3 (diff) |
Fix Spinach and Capybara dependencies
Closes #30347
Diffstat (limited to 'features/support')
-rw-r--r-- | features/support/capybara.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/features/support/capybara.rb b/features/support/capybara.rb index 33ca76bea8d..1e46b3faf0b 100644 --- a/features/support/capybara.rb +++ b/features/support/capybara.rb @@ -1,4 +1,3 @@ -require 'spinach/capybara' require 'capybara/poltergeist' require 'capybara-screenshot/spinach' @@ -25,5 +24,8 @@ Capybara.ignore_hidden_elements = false Capybara::Screenshot.prune_strategy = :keep_last_run Spinach.hooks.before_run do + require 'spinach/capybara' + require 'capybara/rails' + TestEnv.eager_load_driver_server end |