lib/capybara/spec/session/node_wrapper_spec.rb in capybara-3.8.2 vs lib/capybara/spec/session/node_wrapper_spec.rb in capybara-3.9.0
- old
+ new
@@ -32,8 +32,8 @@
expect do
expect(para).to have_css('#second')
end.to raise_error(/^expected to find css "#second" within #<Capybara::Node::Element/)
expect do
expect(para).to have_link(href: %r{/without_simple_html})
- end.to raise_error(%r{^expected to find visible link nil with href matching /\\/without_simple_html/ within #<Capybara::Node::Element})
+ end.to raise_error(%r{^expected to find link nil with href matching /\\/without_simple_html/ within #<Capybara::Node::Element})
end
end