mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 16:53:37 +02:00
Fix tests
This commit is contained in:
parent
523f5ad33b
commit
6635c0fd62
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue