Fix broken test

This commit is contained in:
Filipa Lacerda 2016-12-16 11:30:22 +00:00
parent 3d273c3c38
commit ca16a6bdf8

View file

@ -107,7 +107,7 @@ describe 'Commits' do
describe 'Cancel build' do
it 'cancels build' do
visit ci_status_path(pipeline)
click_on 'Cancel'
find('a.btn[title="Cancel"]').click
expect(page).to have_content 'canceled'
end
end