Skip to content

Commit 352c491

Browse files
committed
Can't reliably reproduce this bug
Since I can't reliably reproduce the ```Turbolinks Not Found``` error, this code is basically just hopeful thinking.
1 parent e9b6697 commit 352c491

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/view_helper_test.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ class ViewHelperTest < ActionDispatch::IntegrationTest
6666
page.execute_script('Turbolinks.visit("/pages/2");')
6767
assert page.has_content?('Hello Alice')
6868

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-
7369
page.execute_script('Turbolinks.visit("/pages/1");')
7470
assert page.has_content?('Hello Bob')
7571

0 commit comments

Comments
 (0)