Commit 6c541eda authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

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

parent ebddd8d4
...@@ -20,7 +20,7 @@ describe 'Project deploy keys', :js do ...@@ -20,7 +20,7 @@ describe 'Project deploy keys', :js do
page.within(find('.deploy-keys')) do page.within(find('.deploy-keys')) do
expect(page).to have_selector('.deploy-keys li', count: 1) 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).not_to have_selector('.fa-spinner', count: 0)
expect(page).to have_selector('.deploy-keys li', count: 0) expect(page).to have_selector('.deploy-keys li', count: 0)
......
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