lib/capybara/spec/views/with_html.erb in capybara-0.4.0.rc vs lib/capybara/spec/views/with_html.erb in capybara-0.4.0

- old
+ new

@@ -33,9 +33,14 @@ <a href="/with_html#anchor">Anchor on same page</a> <input type="text" value="" id="test_field"> <input type="text" checked="checked" id="checked_field"> <a href="/redirect"><img src="http://www.foobar.sun/dummy_image.jpg" width="20" height="20" alt="very fine image" /></a> <a href="/with_simple_html"><img src="http://www.foobar.sun/dummy_image.jpg" width="20" height="20" alt="fine image" /></a> + + <a href="?query_string=true">Naked Query String</a> + <% if params[:query_string] %> + <em>Query String sent</em> + <% end %> </p> <div id="hidden" style="display: none;"> <div id="hidden_via_ancestor">Inside element with hidden ancestor</div> <a href="/with_simple_html" title="awesome title" class="simple">hidden link</a>