Commit 62e2989b authored by Kamil Trzcinski's avatar Kamil Trzcinski

Use have_no_link to test presence of button

parent e5f9fdf9
......@@ -41,7 +41,7 @@ feature 'Pipelines for Merge Requests', feature: true, js: true do
scenario 'user visits merge request page' do
page.within('.merge-request-tabs') do
expect(page).not_to have_link('Pipelines')
expect(page).to have_no_link('Pipelines')
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