diff options
Diffstat (limited to 'spec/features/projects/builds_spec.rb')
-rw-r--r-- | spec/features/projects/builds_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/builds_spec.rb b/spec/features/projects/builds_spec.rb index 984918e22f7..11d27feab0b 100644 --- a/spec/features/projects/builds_spec.rb +++ b/spec/features/projects/builds_spec.rb @@ -155,8 +155,8 @@ feature 'Builds', :feature do click_link 'Keep' - expect(page).not_to have_link 'Keep' - expect(page).not_to have_content 'The artifacts will be removed' + expect(page).to have_no_link 'Keep' + expect(page).to have_no_content 'The artifacts will be removed' end end |