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
|
@ -16,7 +16,7 @@ describe 'Admin::IpBlocks' do
|
|||
|
||||
context 'without selecting any records' do
|
||||
it 'displays a notice about selection' do
|
||||
click_button button_for_delete
|
||||
click_on button_for_delete
|
||||
|
||||
expect(page).to have_content(selection_error_text)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue