Switch to webdrivers, chromedriver-helper is no more

While we're at it let's also update capybara.

Co-authored-by: Ana María Martínez Gómez <anamaria@martinezgomez.name>
This commit is contained in:
Henne Vogelsang 2019-07-16 23:44:29 +02:00
parent e18174a3b3
commit 04616a9b24
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0
3 changed files with 17 additions and 18 deletions

View file

@ -14,6 +14,8 @@ require File.expand_path('../../config/environment', __FILE__)
require 'rspec/rails'
require 'shoulda/matchers'
require 'webdrivers'
# To avoid confusion on missed migrations - use Rails 4 checker to ensure
# all migrations applied
ActiveRecord::Migration.maintain_test_schema!
@ -21,8 +23,6 @@ ActiveRecord::Migration.maintain_test_schema!
# Keep capybara and the database on the same page
require 'transactional_capybara/rspec'
require 'selenium/webdriver'
# Adds rspec helper provided by paper_trail
# makes it easier to control when PaperTrail is enabled during testing.
require 'paper_trail/frameworks/rspec'