Fix Capybara/ClickLinkOrButtonStyle
cop in spec/features (#28576)
This commit is contained in:
parent
06374d07c3
commit
f06c1f1552
17 changed files with 49 additions and 49 deletions
|
@ -23,7 +23,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_button I18n.t('challenge.confirm')
|
||||
click_on 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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue