diff options
author | Stan Hu <stanhu@gmail.com> | 2017-04-01 20:23:18 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-04-01 22:49:22 -0700 |
commit | c0564c549deaff44268622bfc26c81ec0c73dae7 (patch) | |
tree | 0a5c44f06a210c975ae17eed2fc96fe6378366a7 /features | |
parent | 731d574d9359eca8cd37ef46e525bbc9603837a3 (diff) | |
download | gitlab-ce-c0564c549deaff44268622bfc26c81ec0c73dae7.tar.gz |
Fix Spinach and Capybara dependencies
Closes #30347
Diffstat (limited to 'features')
-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 |