fix spec/features/projects/import_export/export_file_spec.rb

This commit is contained in:
Jose Ivan Vargas 2017-10-03 12:06:38 -05:00
parent ebddd8d480
commit 6c541edaf1

View file

@ -20,7 +20,7 @@ describe 'Project deploy keys', :js do
page.within(find('.deploy-keys')) do
expect(page).to have_selector('.deploy-keys li', count: 1)
accept_confirm { find(:button, text: 'Remove').click }
accept_confirm { find(:button, text: 'Remove').send_keys(:return) }
expect(page).not_to have_selector('.fa-spinner', count: 0)
expect(page).to have_selector('.deploy-keys li', count: 0)