mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
14 lines
353 B
Ruby
14 lines
353 B
Ruby
require 'application_system_test_case'
|
|
|
|
class AdminApiUsersSystemTest < ApplicationSystemTestCase
|
|
setup do
|
|
sign_in users(:admin)
|
|
end
|
|
|
|
def test_shows_api_user_list
|
|
visit admin_api_users_path
|
|
|
|
api_user = users(:api_bestnames)
|
|
assert_link api_user.username, href: admin_registrar_api_user_path(api_user.registrar, api_user)
|
|
end
|
|
end
|