2
0

Update rubocop-capybara to version 2.19.0 (#26982)

This commit is contained in:
Matt Jankowski
2023-10-17 10:10:50 -04:00
committed by GitHub
parent 1996fb6fd6
commit 2528a0721f
8 changed files with 39 additions and 39 deletions

View File

@@ -27,7 +27,7 @@ describe 'email confirmation flow when captcha is enabled' do
expect(user.reload.confirmed?).to be false
# It redirects to app and confirms user
click_on I18n.t('challenge.confirm')
click_button I18n.t('challenge.confirm')
expect(user.reload.confirmed?).to be true
expect(page).to have_current_path(/\A#{client_app.confirmation_redirect_uri}/, url: true)
end