mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 13:36:15 +02:00
Updated tests after summary endpoint update
This commit is contained in:
parent
872c650ef7
commit
363a9a7357
1 changed files with 0 additions and 1 deletions
|
@ -20,7 +20,6 @@ class ReppV1RegistrarAuthCheckInfoTest < ActionDispatch::IntegrationTest
|
||||||
assert_equal json[:data][:username], @user.username
|
assert_equal json[:data][:username], @user.username
|
||||||
assert json[:data][:roles].include? 'super'
|
assert json[:data][:roles].include? 'super'
|
||||||
assert_equal json[:data][:registrar_name], 'Best Names'
|
assert_equal json[:data][:registrar_name], 'Best Names'
|
||||||
assert_equal json[:data][:balance][:amount].to_f, @user.registrar.cash_account.balance
|
|
||||||
assert json[:data][:abilities].is_a? Hash
|
assert json[:data][:abilities].is_a? Hash
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue