Skip to content

Commit

Permalink
update sign_in_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-coggin committed Dec 1, 2023
1 parent dad5b3a commit 1c9fd7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/system/sign_in_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
context 'when user is confirmed' do
let(:user) { create :user, :confirmed }

before do
allow(Rails.application).to receive(:gov_one_login?).and_return(true)
end

context 'and enters valid credentials' do
it 'signs in successfully' do
expect(page).to have_text('Agree to our terms and conditions') # extra registration
Expand Down

0 comments on commit 1c9fd7c

Please sign in to comment.