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
|
@ -24,7 +24,7 @@ describe 'NewStatuses' do
|
|||
|
||||
within('.compose-form') do
|
||||
fill_in "What's on your mind?", with: status_text
|
||||
click_button 'Publish!'
|
||||
click_on 'Publish!'
|
||||
end
|
||||
|
||||
expect(subject).to have_css('.status__content__text', text: status_text)
|
||||
|
@ -37,7 +37,7 @@ describe 'NewStatuses' do
|
|||
|
||||
within('.compose-form') do
|
||||
fill_in "What's on your mind?", with: status_text
|
||||
click_button 'Publish!'
|
||||
click_on 'Publish!'
|
||||
end
|
||||
|
||||
expect(subject).to have_css('.status__content__text', text: status_text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue