transactional db support for capybara tests!

This commit is contained in:
James Mason 2018-11-16 11:57:51 -08:00
parent cbcfbe4cec
commit 64037d18a0
No known key found for this signature in database
GPG key ID: 1B3951886C449023
7 changed files with 43 additions and 30 deletions

View file

@ -18,6 +18,9 @@ require 'shoulda/matchers'
# all migrations applied
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