diff options
author | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2015-12-28 17:37:03 -0500 |
---|---|---|
committer | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2015-12-28 17:37:03 -0500 |
commit | d985d08a19d945ad4615b319c9346ec88abf2f97 (patch) | |
tree | a1b85f749bc7654de0bc10a0feeafd3f40605caf /spec/features | |
parent | c6c96708b51505dcb54b69abf0b39617cd5ee3fb (diff) | |
download | gitlab-ce-d985d08a19d945ad4615b319c9346ec88abf2f97.tar.gz |
adds proper `it` for multi line. adds `find` with correct id for button.
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/projects_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/projects_spec.rb b/spec/features/projects_spec.rb index d4a92072a94..4836b3b9b14 100644 --- a/spec/features/projects_spec.rb +++ b/spec/features/projects_spec.rb @@ -81,10 +81,10 @@ feature 'Project', feature: true do end it { expect(page).to have_content('You have Master access to this project.') } - it { - find('#project-settings').click + it 'click project-settings and find leave project' do + find('#project-settings-button').click expect(page).to have_link('Leave Project') - } + end end def remove_with_confirm(button_text, confirm_with) |