Commit 41773301 authored by Jesse Hall's avatar Jesse Hall

Apply suggestion to spec/features/projects/branches_spec.rb

parent ccd748d7
......@@ -101,7 +101,7 @@ describe 'Branches' do
visit project_branches_filtered_path(project, state: 'all')
expect(all('.all-branches').last).to have_selector('li', count: 20)
accept_confirm { find('.js-branch-invalid-utf8-diff-paths .btn-remove').click }
accept_confirm { first('.js-branch-item .btn-remove').click }
expect(all('.all-branches').last).to have_selector('li', count: 19)
end
......
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