summaryrefslogtreecommitdiff
path: root/spec/support/snippets_shared_examples.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/snippets_shared_examples.rb')
-rw-r--r--spec/support/snippets_shared_examples.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/snippets_shared_examples.rb b/spec/support/snippets_shared_examples.rb
index 57dfff3471f..85f0facd5c3 100644
--- a/spec/support/snippets_shared_examples.rb
+++ b/spec/support/snippets_shared_examples.rb
@@ -7,7 +7,7 @@ RSpec.shared_examples 'paginated snippets' do |remote: false|
context 'clicking on the link to the second page' do
before do
click_link('2')
- wait_for_ajax if remote
+ wait_for_requests if remote
end
it 'shows the remaining snippets' do