forked from fixin.me/fixin.me
Extend all test tasks to run against every configured test db (WIP)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user