Skip to content

Commit

Permalink
remove link assertion from gov_one_info spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-coggin committed Dec 4, 2023
1 parent 9c8bdda commit a21cd78
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions spec/system/gov_one_info_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
expect(page).to have_css('p', text: 'You will be asked to sign in to your account, or create a One Login account, in this service')
expect(page).to have_css('a', text: 'Continue to GOV.UK One Login')
end

it 'has the correct login link' do
link = find_link('Continue to GOV.UK One Login')
expect(link[:href]).to start_with('https://oidc.test.account.gov.uk/authorize?')
end
end

context 'with an authenticated user' do
Expand Down

0 comments on commit a21cd78

Please sign in to comment.