Fix flakey time-sensitive remove deploy key spec

This commit is contained in:
Eric Eastwood 2018-06-14 00:05:05 -05:00
parent 69966fcb8d
commit 9c3e9fe2c0

View file

@ -22,7 +22,8 @@ describe 'Project deploy keys', :js do
accept_confirm { find('.ic-remove').click() }
expect(page).not_to have_selector('.fa-spinner', count: 0)
wait_for_requests
expect(page).to have_selector('.deploy-key', count: 0)
end
end