lib/capybara/spec/views/with_js.erb in capybara-2.3.0 vs lib/capybara/spec/views/with_js.erb in capybara-2.4.0

- old
+ new

@@ -70,9 +70,26 @@ <a href="#" id="change-title">Change title</a> </p> <p id="click-test">Click me</p> + <p> + <a href="#" id="open-alert">Open alert</a> + </p> + + <p> + <a href="#" id="open-delayed-alert">Open delayed alert</a> + <a href="#" id="open-slow-alert">Open slow alert</a> + </p> + + <p> + <a href="#" id="open-confirm">Open confirm</a> + </p> + + <p> + <a href="#" id="open-prompt">Open prompt</a> + </p> + <script type="text/javascript"> // a javascript comment var aVar = 123; </script> </body>