Skip to content

Commit

Permalink
update authentication_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-coggin committed Dec 4, 2023
1 parent 1c9fd7c commit b915b6a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/requests/authentication_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@
end

context 'with partially registered User' do
before { sign_in create(:user, :confirmed) }
before do
allow(Rails.application).to receive(:gov_one_login?).and_return(true)
sign_in create(:user, :confirmed)
end

it 'redirects to finish registration' do
get action_path
Expand Down

0 comments on commit b915b6a

Please sign in to comment.