mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
Move transactional fixtures to base class
This commit is contained in:
parent
c1dd115b28
commit
2bcedd0fac
2 changed files with 1 additions and 2 deletions
|
@ -1,8 +1,6 @@
|
|||
require 'test_helper'
|
||||
|
||||
class RegistrarSignInTest < JavascriptIntegrationTest
|
||||
self.use_transactional_fixtures = false
|
||||
|
||||
def setup
|
||||
super
|
||||
WebMock.allow_net_connect!
|
||||
|
|
|
@ -43,6 +43,7 @@ class ActionDispatch::IntegrationTest
|
|||
end
|
||||
|
||||
class JavascriptIntegrationTest < ActionDispatch::IntegrationTest
|
||||
self.use_transactional_fixtures = false
|
||||
DatabaseCleaner.strategy = :truncation
|
||||
|
||||
Capybara.register_driver(:chrome) do |app|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue