Fix tests

This commit is contained in:
Martin Lensment 2015-04-14 14:00:31 +03:00
parent 523f5ad33b
commit 6635c0fd62

View file

@ -21,15 +21,15 @@ feature 'Invoices', type: :feature do
it 'should navigate to the domains index page' do it 'should navigate to the domains index page' do
current_path.should == '/registrar' current_path.should == '/registrar'
click_link 'Invoices' click_link 'Accounting'
current_path.should == '/registrar/invoices' current_path.should == '/registrar/invoices'
page.should have_text('invoices index') page.should have_text('Your current credit account balance is')
end end
it 'should get domains index page' do it 'should get domains index page' do
visit '/registrar/invoices' visit '/registrar/invoices'
page.should have_text('invoices index') page.should have_text('Invoices')
end end
end end
end end