We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9b6697 commit 352c491Copy full SHA for 352c491
test/view_helper_test.rb
@@ -66,10 +66,6 @@ class ViewHelperTest < ActionDispatch::IntegrationTest
66
page.execute_script('Turbolinks.visit("/pages/2");')
67
assert page.has_content?('Hello Alice')
68
69
- # Sometimes Turbolinks isn't available right away. We need to wait for a brief moment
70
- # for phantomJS to finish loading javascript.
71
- sleep(0.1)
72
-
73
page.execute_script('Turbolinks.visit("/pages/1");')
74
assert page.has_content?('Hello Bob')
75
0 commit comments