diff --git a/spec/features/registrar/invoices_spec.rb b/spec/features/registrar/invoices_spec.rb index 8d0654e56..2632aa8ef 100644 --- a/spec/features/registrar/invoices_spec.rb +++ b/spec/features/registrar/invoices_spec.rb @@ -21,15 +21,15 @@ feature 'Invoices', type: :feature do it 'should navigate to the domains index page' do current_path.should == '/registrar' - click_link 'Invoices' + click_link 'Accounting' current_path.should == '/registrar/invoices' - page.should have_text('invoices index') + page.should have_text('Your current credit account balance is') end it 'should get domains index page' do visit '/registrar/invoices' - page.should have_text('invoices index') + page.should have_text('Invoices') end end end