mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 21:25:39 +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'
|
require 'test_helper'
|
||||||
|
|
||||||
class RegistrarSignInTest < JavascriptIntegrationTest
|
class RegistrarSignInTest < JavascriptIntegrationTest
|
||||||
self.use_transactional_fixtures = false
|
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
super
|
super
|
||||||
WebMock.allow_net_connect!
|
WebMock.allow_net_connect!
|
||||||
|
|
|
@ -43,6 +43,7 @@ class ActionDispatch::IntegrationTest
|
||||||
end
|
end
|
||||||
|
|
||||||
class JavascriptIntegrationTest < ActionDispatch::IntegrationTest
|
class JavascriptIntegrationTest < ActionDispatch::IntegrationTest
|
||||||
|
self.use_transactional_fixtures = false
|
||||||
DatabaseCleaner.strategy = :truncation
|
DatabaseCleaner.strategy = :truncation
|
||||||
|
|
||||||
Capybara.register_driver(:chrome) do |app|
|
Capybara.register_driver(:chrome) do |app|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue