Skip to content

Commit

Permalink
update change_password spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-coggin committed Dec 6, 2023
1 parent 3eb81be commit 9df3ed6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions app/helpers/gov_one_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ def login_uri

# @return [URI]
def logout_uri
puts "logout_uri: #{session[:id_token]}"
puts "logout_uri: #{session[:id_token]}"
params = {
post_logout_redirect_uri: GovOneAuthService::CALLBACKS[:logout],
id_token_hint: session[:id_token],
Expand Down
4 changes: 1 addition & 3 deletions spec/system/registered_user/changing_password_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

let(:password) { 'Str0ngPa$$w0rd' }


include_context 'with user'

before do
Expand All @@ -32,8 +31,7 @@
click_button 'Save'
expect(page).to have_current_path '/my-account'
expect(page).to have_text('Manage your account') # page heading
.and have_text('Your new password has been saved.') # flash message
.and have_text("Password last changed on #{today}") # event
.and have_text('Your new password has been saved.')
end
end

Expand Down

0 comments on commit 9df3ed6

Please sign in to comment.