fix spec/features/projects/import_export/export_file_spec.rb
This commit is contained in:
parent
ebddd8d480
commit
6c541edaf1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue