diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-08-17 14:49:16 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-08-17 14:49:16 +0100 |
commit | 62e2989bb77ea91f3e0acc81d8720eeaebb6bfd4 (patch) | |
tree | f289f5bde3441b46811c2a1339a864a34b2fba38 | |
parent | e5f9fdf90c1d59a07f76919e9d94599b494ac50f (diff) | |
download | gitlab-ce-18681-pipelines-merge-request.tar.gz |
Use have_no_link to test presence of button18681-pipelines-merge-request
-rw-r--r-- | spec/features/merge_requests/pipelines_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/merge_requests/pipelines_spec.rb b/spec/features/merge_requests/pipelines_spec.rb index eeb898f083e..9c4c0525267 100644 --- a/spec/features/merge_requests/pipelines_spec.rb +++ b/spec/features/merge_requests/pipelines_spec.rb @@ -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 |