diff --git a/spec/features/registrar/account_activity_spec.rb b/spec/features/registrar/account_activity_spec.rb index a9cc9c59e..3d97be16a 100644 --- a/spec/features/registrar/account_activity_spec.rb +++ b/spec/features/registrar/account_activity_spec.rb @@ -20,7 +20,7 @@ feature 'Account activity', type: :feature do end it 'should navigate to account activities page' do - current_path.should == '/registrar' + current_path.should == '/registrar/poll' click_link 'Billing' click_link 'Account activity' diff --git a/spec/features/registrar/domain_spec.rb b/spec/features/registrar/domain_spec.rb index 3eecd5d10..956ddef4d 100644 --- a/spec/features/registrar/domain_spec.rb +++ b/spec/features/registrar/domain_spec.rb @@ -54,6 +54,8 @@ feature 'Domains', type: :feature do click_link "#{user2} (#{user2.roles.first}) - #{user2.registrar}" + visit '/registrar/domains' + page.should_not have_text(d1.name) page.should have_text(d2.name) end diff --git a/spec/features/registrar/invoices_spec.rb b/spec/features/registrar/invoices_spec.rb index 37e3737dd..fee6e8fb6 100644 --- a/spec/features/registrar/invoices_spec.rb +++ b/spec/features/registrar/invoices_spec.rb @@ -20,7 +20,7 @@ feature 'Invoices', type: :feature do end it 'should navigate to the domains index page' do - current_path.should == '/registrar' + current_path.should == '/registrar/poll' click_link 'Billing' current_path.should == '/registrar/invoices' @@ -58,6 +58,7 @@ feature 'Invoices', type: :feature do page.should have_text(@invoice.to_s) page.should have_text('Buyer') click_link "#{user2} (#{user2.roles.first}) - #{user2.registrar}" + visit "/registrar/invoices/#{@invoice.id}" page.should have_text('You are not authorized to access this page.') visit "/registrar/invoices/#{@invoice.id}/forward"