Fix Capybara/ClickLinkOrButtonStyle
cop in spec/features/admin area (#27445)
This commit is contained in:
parent
0036de46bc
commit
71447ab19f
9 changed files with 12 additions and 12 deletions
|
@ -17,7 +17,7 @@ describe 'Admin::Statuses' do
|
|||
|
||||
context 'without selecting any records' do
|
||||
it 'displays a notice about selection' do
|
||||
click_on button_for_report
|
||||
click_button button_for_report
|
||||
|
||||
expect(page).to have_content(selection_error_text)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue