transactional db support for capybara tests!
This commit is contained in:
parent
1b9a12746d
commit
a9e8498abe
7 changed files with 43 additions and 30 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue