Commit a3e9ef21 authored by Clement Ho's avatar Clement Ho

Use click_button

parent 82b7d4b0
......@@ -46,7 +46,7 @@ feature 'Issue Sidebar', feature: true do
it 'assigns yourself' do
find('.block.assignee .dropdown-menu-toggle').click
find('.assign-yourself .btn-link', text: 'assign yourself').click
click_button 'assign yourself'
wait_for_ajax
......
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