Commit ba3449a7 authored by Robert Speicher's avatar Robert Speicher

Use a positive assertion for have_no_selector rather than the inverse

parent 40d9c0c0
...@@ -19,7 +19,7 @@ describe 'Filter issues', js: true do ...@@ -19,7 +19,7 @@ describe 'Filter issues', js: true do
def expect_no_issues_list def expect_no_issues_list
page.within '.issues-list' do page.within '.issues-list' do
expect(page).not_to have_selector('.issue') expect(page).to have_no_selector('.issue')
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment