1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Fix Capybara/NegationMatcher cop in spec/system (#30616)

This commit is contained in:
Matt Jankowski 2024-06-08 13:10:06 -04:00 committed by GitHub
parent 6952af137d
commit 827e36ff9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,7 +46,7 @@ describe 'Filters' do
click_on I18n.t('filters.index.delete') click_on I18n.t('filters.index.delete')
end.to change(CustomFilter, :count).by(-1) end.to change(CustomFilter, :count).by(-1)
expect(page).to_not have_content(filter_title) expect(page).to have_no_content(filter_title)
end end
end end