diff options
author | Matt Jankowski <matt@jankowski.online> | 2024-06-08 13:10:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-08 17:10:06 +0000 |
commit | 827e36ff9ee22ec58c64322c0a9d78eaa2dd4875 (patch) | |
tree | 45a524c19b5706f34b0cde2f21660dd7ce32f6b3 | |
parent | 6952af137d17f65e65963e4d9ba129060fad9d3d (diff) |
Fix `Capybara/NegationMatcher` cop in spec/system (#30616)
-rw-r--r-- | spec/system/filters_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/system/filters_spec.rb b/spec/system/filters_spec.rb index 9d18e904608..a0cb965a61b 100644 --- a/spec/system/filters_spec.rb +++ b/spec/system/filters_spec.rb @@ -46,7 +46,7 @@ describe 'Filters' do click_on I18n.t('filters.index.delete') 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 |