transactional db support for capybara tests!

This commit is contained in:
James Mason 2018-11-16 11:57:51 -08:00
parent 1b9a12746d
commit a9e8498abe
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