Commit d985d08a authored by Jacob Schatz's avatar Jacob Schatz

adds proper `it` for multi line. adds `find` with correct id for button.

parent c6c96708
...@@ -81,10 +81,10 @@ feature 'Project', feature: true do ...@@ -81,10 +81,10 @@ feature 'Project', feature: true do
end end
it { expect(page).to have_content('You have Master access to this project.') } it { expect(page).to have_content('You have Master access to this project.') }
it { it 'click project-settings and find leave project' do
find('#project-settings').click find('#project-settings-button').click
expect(page).to have_link('Leave Project') expect(page).to have_link('Leave Project')
} end
end end
def remove_with_confirm(button_text, confirm_with) def remove_with_confirm(button_text, confirm_with)
......
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