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
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)
......
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