<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,7 +1,7 @@
 use strict;
 use warnings;
-#use Test::More tests =&gt; 5;
-use Test::More 'no_plan';
+use Test::More tests =&gt; 54;
+#use Test::More 'no_plan';
 use Test::XPath;
 use Test::MockObject::Extends;
 
@@ -19,7 +19,9 @@ $mocker-&gt;mock( uri_for =&gt; sub { $_[1]} );
 
 # Create a statement handle for books/list.
 my $sth = $c-&gt;conn-&gt;run(sub { $_-&gt;prepare(q{
-    SELECT isbn, title, rating, authors FROM books_with_authors
+    SELECT isbn, title, rating, authors
+      FROM books_with_authors
+     ORDER BY title
 }) });
 $sth-&gt;execute;
 
@@ -41,7 +43,83 @@ $tx-&gt;ok('/html/body/div[@id=&quot;bodyblock&quot;]/div[@id=&quot;content&quot;]/table', sub {
         $_-&gt;is('./th[1]', 'Title', '... first is &quot;Title&quot;');
         $_-&gt;is('./th[2]', 'Rating', '... second is &quot;Rating&quot;');
         $_-&gt;is('./th[3]', 'Authors', '... third is &quot;Authors&quot;');
-    }, 'Should have first table row')
+    }, 'Should have first table row');
+
+    $_-&gt;ok('./tr[2]', sub {
+        $_-&gt;is('count(./td)', 3, 'Should have three cells');
+        $_-&gt;is(
+            './td[1]',
+            'CCSP SNRS Exam Certification Guide',
+            '... first is &quot;CCSP SNRS Exam Certification Guide&quot;'
+        );
+        $_-&gt;is('./td[2]', 5, '... second is &quot;5&quot;');
+        $_-&gt;is(
+            './td[3]',
+            'Bastien, Nasseh, Degu',
+            '... third is &quot;Bastien, Nasseh, Degu&quot;',
+        );
+    }, 'Should have second table row');
+
+    $_-&gt;ok('./tr[3]', sub {
+        $_-&gt;is('count(./td)', 3, 'Should have three cells');
+        $_-&gt;is(
+            './td[1]',
+            'Designing with Web Standards',
+            '... first is &quot;Designing with Web Standards&quot;'
+        );
+        $_-&gt;is('./td[2]', 5, '... second is &quot;5&quot;');
+        $_-&gt;is(
+            './td[3]',
+            'Zeldman',
+            '... third is &quot;Zeldman&quot;',
+        );
+    }, 'Should have third table row');
+
+    $_-&gt;ok('./tr[4]', sub {
+        $_-&gt;is('count(./td)', 3, 'Should have three cells');
+        $_-&gt;is(
+            './td[1]',
+            'Internetworking with TCP/IP Vol.1',
+            '... first is &quot;Internetworking with TCP/IP Vol.1&quot;'
+        );
+        $_-&gt;is('./td[2]', 4, '... second is &quot;4&quot;');
+        $_-&gt;is(
+            './td[3]',
+            'Comer',
+            '... third is &quot;Comer&quot;',
+        );
+    }, 'Should have fourth table row');
+
+    $_-&gt;ok('./tr[5]', sub {
+        $_-&gt;is('count(./td)', 3, 'Should have three cells');
+        $_-&gt;is(
+            './td[1]',
+            'Perl Cookbook',
+            '... first is &quot;Perl Cookbook&quot;',
+        );
+        $_-&gt;is('./td[2]', 5, '... second is &quot;5&quot;');
+        $_-&gt;is(
+            './td[3]',
+            'Christiansen, Torkington',
+            '... third is &quot;Christiansen, Torkington&quot;',
+        );
+    }, 'Should have fifth table row');
+
+    $_-&gt;ok('./tr[6]', sub {
+        $_-&gt;is('count(./td)', 3, 'Should have three cells');
+        $_-&gt;is(
+            './td[1]',
+            'TCP/IP Illustrated, Volume 1',
+            '... first is &quot;TCP/IP Illustrated, Volume 1&quot;'
+        );
+        $_-&gt;is('./td[2]', 5, '... second is &quot;5&quot;');
+        $_-&gt;is(
+            './td[3]',
+            'Stevens',
+            '... third is &quot;Stevens&quot;',
+        );
+    }, 'Should have sixth table row');
+
 }, 'Should have a table');
 
 </diff>
      <filename>t/view_HTML.t</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3ece89d196a3688650572285f60c3cf3d5802cbc</id>
    </parent>
  </parents>
  <author>
    <name>David E. Wheeler</name>
    <email>david@justatheory.com</email>
  </author>
  <url>http://github.com/theory/catalyst-tutorial/commit/e6018bd0339fb92b9c7fe9ac3d518ca3d302f7a0</url>
  <id>e6018bd0339fb92b9c7fe9ac3d518ca3d302f7a0</id>
  <committed-date>2009-11-09T14:15:05-08:00</committed-date>
  <authored-date>2009-11-09T14:15:05-08:00</authored-date>
  <message>Finish testing the `books/list` template</message>
  <tree>7d644a67b1c84bbbefb157ca363697fbd3f1048f</tree>
  <committer>
    <name>David E. Wheeler</name>
    <email>david@justatheory.com</email>
  </committer>
</commit>
