Index: tests/vote_up_down.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/vote_up_down/tests/Attic/vote_up_down.test,v
retrieving revision 1.1.2.7
diff -u -u -r1.1.2.7 vote_up_down.test
--- tests/vote_up_down.test	7 Feb 2009 19:28:44 -0000	1.1.2.7
+++ tests/vote_up_down.test	31 Mar 2009 10:10:45 -0000
@@ -116,6 +116,11 @@
     $this->assertText('Who voted on this?', 'Vote Up/Down block is on node pages');
     $this->assertText('Voting details', 'Voting details tab is on node pages');
 
+    // Use the url to find the NID, and then check for the <span> tag that the
+    // Javascript uses to update the points.
+    preg_match('#/node/([0-9]*)$#', $node_url, $matches);
+    $nid = $matches[1];
+    $this->assertRaw('<span id="vote_points_' . $nid . '" class="vote-points">', 'Labeled SPAN tag found');
 
     // Create a PAGE node using the node/add page.
     // Check that the Vote Up/Down information does NOT show for this node type.
