-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show registrar's accounting customer code in UI
- Loading branch information
Artur Beljajev
committed
Oct 27, 2017
1 parent
59e1e18
commit 74cb51f
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |