From f099900308d766a05cf8fca01ae7096d4bf92bcb Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Wed, 15 Apr 2015 10:06:48 +0300 Subject: [PATCH] Updated invoices spec --- app/views/registrar/deposits/new.haml | 2 +- spec/features/registrar/invoices_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/registrar/deposits/new.haml b/app/views/registrar/deposits/new.haml index 6557316f7..695068ecc 100644 --- a/app/views/registrar/deposits/new.haml +++ b/app/views/registrar/deposits/new.haml @@ -17,6 +17,6 @@ .row .col-md-12.text-right - = button_tag(t('save'), class: 'btn btn-primary') + = button_tag(t(:add), class: 'btn btn-primary') diff --git a/spec/features/registrar/invoices_spec.rb b/spec/features/registrar/invoices_spec.rb index 2632aa8ef..845a79444 100644 --- a/spec/features/registrar/invoices_spec.rb +++ b/spec/features/registrar/invoices_spec.rb @@ -21,7 +21,7 @@ feature 'Invoices', type: :feature do it 'should navigate to the domains index page' do current_path.should == '/registrar' - click_link 'Accounting' + click_link 'Billing' current_path.should == '/registrar/invoices' page.should have_text('Your current credit account balance is')