Extend all test tasks to run against every configured test db (WIP)

This commit is contained in:
2026-04-13 00:39:03 +02:00
parent 376640cfd7
commit dd9572689a
6 changed files with 67 additions and 4 deletions

View File

@@ -56,4 +56,8 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
# find('a[disabled]').click
# end
#end
# TODO: override #test, creating per-adapter test methods running within
# #with_connection?
# define shards for test database
end

View File

@@ -2,7 +2,7 @@ require "test_helper"
class UsersControllerTest < ActionDispatch::IntegrationTest
setup do
@user = users(:one)
@user = users(:admin)
end
test "should get index" do

View File

@@ -6,6 +6,7 @@ class UsersTest < ApplicationSystemTestCase
end
test 'sign in' do
byebug
visit root_url
assert find_link(href: new_user_session_path)[:disabled]