Remove unused attribute

#772
This commit is contained in:
Artur Beljajev 2018-03-10 16:33:35 +02:00
parent 3704345d02
commit efaac16cee
10 changed files with 25 additions and 8 deletions

View file

@ -1,7 +1,6 @@
DEFAULTS: &DEFAULTS
created_at: <%= Date.parse '2010-07-05' %>
due_date: <%= Date.parse '2010-07-06' %>
invoice_type: DEB
currency: EUR
seller_name: John Doe
seller_iban: 1234

View 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