specs: remove unused wait-for-ajax helper
This helper is: - no longer used; - buggy (not all requests increment it); - discouraged (we should instead match an UI change that signals the end of an ajax request). Good riddance.
This commit is contained in:
parent
34dc554748
commit
7a27e78452
2 changed files with 1 additions and 23 deletions
|
@ -1,9 +0,0 @@
|
|||
module WaitForAjax
|
||||
def wait_for_ajax
|
||||
expect(page).to have_selector('body[data-active-requests-count="0"]')
|
||||
end
|
||||
end
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.include WaitForAjax, type: :feature
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue