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 fa925f5 commit dc65a90Copy full SHA for dc65a90
test/view_helper_test.rb
@@ -58,6 +58,10 @@ class ViewHelperTest < ActionDispatch::IntegrationTest
58
page.click_link('Bob')
59
assert page.has_content?('Hello Bob')
60
61
+ # Try going back.
62
+ page.execute_script('history.back();')
63
+ assert page.has_content?('Hello Alice')
64
+
65
# Try Turbolinks javascript API.
66
page.execute_script('Turbolinks.visit("/pages/2");')
67
assert page.has_content?('Hello Alice')
0 commit comments