mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 01:03:35 +02:00
parent
59e1e18d32
commit
74cb51f2e3
2 changed files with 16 additions and 0 deletions
13
test/controllers/admin/registrars/show_test.rb
Normal file
13
test/controllers/admin/registrars/show_test.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
require 'test_helper'
|
||||
|
||||
class RegistrarsControllerTest < ActionDispatch::IntegrationTest
|
||||
def setup
|
||||
login_as create(:admin_user)
|
||||
end
|
||||
|
||||
def test_accounting_customer_code
|
||||
registrar = create(:registrar, accounting_customer_code: 'test accounting customer code')
|
||||
visit admin_registrar_path(registrar)
|
||||
assert_text 'test accounting customer code'
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue