0
0
Fork 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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 39 additions and 39 deletions

View file

@ -24,10 +24,10 @@ describe 'NewStatuses' do
within('.compose-form') do
fill_in "What's on your mind?", with: status_text
click_on 'Publish!'
click_button 'Publish!'
end
expect(subject).to have_selector('.status__content__text', text: status_text)
expect(subject).to have_css('.status__content__text', text: status_text)
end
it 'can be posted again' do
@ -37,9 +37,9 @@ describe 'NewStatuses' do
within('.compose-form') do
fill_in "What's on your mind?", with: status_text
click_on 'Publish!'
click_button 'Publish!'
end
expect(subject).to have_selector('.status__content__text', text: status_text)
expect(subject).to have_css('.status__content__text', text: status_text)
end
end