mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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:
parent
e18174a3b3
commit
04616a9b24
3 changed files with 17 additions and 18 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue