Skip to content

Commit

Permalink
Maintenance: remove unnecessary calls to await_empty_ajax_queue
Browse files Browse the repository at this point in the history
  • Loading branch information
mantas authored and mgruner committed Sep 7, 2021
1 parent 5a47caa commit ece077a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spec/system/ticket/zoom_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,6 @@ def authenticate
it 'shows ticket state dropdown options in sorted translated alphabetically order' do
visit "ticket/zoom/#{ticket.id}"

await_empty_ajax_queue
expect(all('select[name=state_id] option').map(&:text)).to eq(%w[geschlossen neu offen])
end
end
Expand All @@ -961,7 +960,6 @@ def authenticate
it 'shows ticket state dropdown options in sorted order' do
visit 'ticket/create'

await_empty_ajax_queue
expect(all('select[name=state_id] option').map(&:text)).to eq ['-', 'geschlossen', 'neu', 'offen', 'warten auf Erinnerung', 'warten auf schliessen']
end
end
Expand Down Expand Up @@ -1738,8 +1736,6 @@ def authenticate
visit "ticket/zoom/#{ticket.id}"
visit "ticket/zoom/#{target_ticket.id}"

await_empty_ajax_queue

ensure_websocket do
visit 'dashboard'
end
Expand Down

0 comments on commit ece077a

Please sign in to comment.