[Bps-public-commit] r17478 - in Net-Google-Code/trunk: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Dec 31 02:28:31 EST 2008


Author: sunnavy
Date: Wed Dec 31 02:28:28 2008
New Revision: 17478

Modified:
   Net-Google-Code/trunk/   (props changed)
   Net-Google-Code/trunk/t/03.comment.t

Log:
 r18389 at sunnavys-mb:  sunnavy | 2008-12-31 11:24:21 +0800
 tests for comment's updates


Modified: Net-Google-Code/trunk/t/03.comment.t
==============================================================================
--- Net-Google-Code/trunk/t/03.comment.t	(original)
+++ Net-Google-Code/trunk/t/03.comment.t	Wed Dec 31 02:28:28 2008
@@ -35,6 +35,14 @@
     }
 }
 
+my $updates = {
+    cc     => 'thatan... at google.com',
+    status => 'Available',
+    labels => { Mstone => 'X' },
+};
+
+is_deeply( $updates, $comment->updates, 'updates are extracted' );
+
 __DATA__
  <td class="vt issuecomment">
  
@@ -67,7 +75,11 @@
  <div class="round2"></div>
  <div class="round1"></div>
  <div class="box-inner">
- <b>Cc:</b> thatan... at google.com<br>
+ <b>Cc:</b> thatan... at google.com<br><b>Status:</b> Available<br><b>Labels:</b> Mstone-X<br>
+ </div>
+ <div class="round1"></div>
+ <div class="round2"></div>
+ <div class="round4"></div>
  </div>
  
  </td>



More information about the Bps-public-commit mailing list