mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
parent
3704345d02
commit
efaac16cee
10 changed files with 25 additions and 8 deletions
16
test/integration/registrar/billing/balance_top_up_test.rb
Normal file
16
test/integration/registrar/billing/balance_top_up_test.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
require 'test_helper'
|
||||
|
||||
class BalanceTopUpTest < ActionDispatch::IntegrationTest
|
||||
def setup
|
||||
login_as users(:api_bestnames)
|
||||
end
|
||||
|
||||
def test_registrar_balance_top_up
|
||||
visit registrar_invoices_url
|
||||
click_link_or_button 'Add deposit'
|
||||
fill_in 'Amount', with: 100
|
||||
click_link_or_button 'Add'
|
||||
|
||||
assert_text 'Please pay the following invoice'
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue