refactored: extra line breaks, extra indentation, extra comments

This commit is contained in:
Oleg Hasjanov 2021-01-29 11:59:07 +02:00
parent ed3ee5ffc0
commit 02b5c8c4b6
17 changed files with 310 additions and 346 deletions

View file

@ -13,7 +13,6 @@ class ApplicationSystemTestCase < ActionDispatch::IntegrationTest
WebMock.reset!
Capybara.reset_sessions!
Capybara.use_default_driver
end
end
@ -29,21 +28,16 @@ class JavaScriptApplicationSystemTestCase < ApplicationSystemTestCase
options.add_argument('--disable-dev-shm-usage')
options.add_argument('--window-size=1400,1400')
Capybara::Selenium::Driver.new(app, browser: :chrome, options: options)
end
Capybara.server = :puma, { Silent: true }
def setup
DatabaseCleaner.start
super
Capybara.current_driver = :chrome
end
def teardown