mirror of
https://github.com/internetee/registry.git
synced 2025-06-12 23:54:44 +02:00
18 lines
459 B
Ruby
18 lines
459 B
Ruby
require 'test_helper'
|
|
|
|
class AdminAreaRegistrarDetailsTest < ActionDispatch::IntegrationTest
|
|
include ActionView::Helpers::NumberHelper
|
|
|
|
def setup
|
|
login_as users(:admin)
|
|
@registrar = registrars(:complete)
|
|
end
|
|
|
|
def test_registrar_details
|
|
visit admin_registrar_path(@registrar)
|
|
assert_text 'Accounting customer code US0001'
|
|
assert_text 'VAT number US12345'
|
|
assert_text 'VAT rate 5.0%'
|
|
assert_text 'Language English'
|
|
end
|
|
end
|