<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -271,6 +271,17 @@ describe &quot;click_link&quot; do
     @session.click_link &quot;This is a link&quot;
   end
   
+  it &quot;should not match on non-text contents&quot; do
+    pending &quot;needs fix&quot;
+    @session.response_body = &lt;&lt;-EOS
+    &lt;a href=&quot;/page1&quot;&gt;&lt;span class=&quot;location&quot;&gt;My house&lt;/span&gt;&lt;/a&gt;
+    &lt;a href=&quot;/page2&quot;&gt;Location&lt;/a&gt;
+    EOS
+    
+    @session.should_receive(:get).with(&quot;/page2&quot;, {})
+    @session.click_link &quot;Location&quot;
+  end
+  
   it &quot;should click link within a selector&quot; do
     @session.response_body = &lt;&lt;-EOS
     &lt;a href=&quot;/page1&quot;&gt;Link&lt;/a&gt;</diff>
      <filename>spec/api/click_link_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ba3e29d2a3d4af9c217fb429c135b8045dcc046d</id>
    </parent>
  </parents>
  <author>
    <name>Luke Melia</name>
    <email>luke@lukemelia.com</email>
  </author>
  <url>http://github.com/brynary/webrat/commit/f262e338bfd5eaac2a8abbec2fbf0c44b624f684</url>
  <id>f262e338bfd5eaac2a8abbec2fbf0c44b624f684</id>
  <committed-date>2008-11-20T12:23:31-08:00</committed-date>
  <authored-date>2008-11-20T12:23:31-08:00</authored-date>
  <message>Added pending spec for clicks_link not matching inner_html. Fix will be involved and likely breaking, because clicks_link does explicitly match inner_html today. However, we think the spec makes clear why it shouldn't. Luke Melia / Noah Davis</message>
  <tree>653c2e518454690e879f28d3696239883a3b85fd</tree>
  <committer>
    <name>Luke Melia</name>
    <email>luke@lukemelia.com</email>
  </committer>
</commit>
