[Rt-commit] r12986 - in rt/branches/3.8-TESTING: .

jesse at bestpractical.com jesse at bestpractical.com
Fri Jun 6 14:55:53 EDT 2008


Author: jesse
Date: Fri Jun  6 14:55:53 2008
New Revision: 12986

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/t/web/ticket_seen.t

Log:
 r32392 at 31b:  jesse | 2008-06-06 14:33:53 -0400
 * fix ticket_seen tests for new phrasing


Modified: rt/branches/3.8-TESTING/t/web/ticket_seen.t
==============================================================================
--- rt/branches/3.8-TESTING/t/web/ticket_seen.t	(original)
+++ rt/branches/3.8-TESTING/t/web/ticket_seen.t	Fri Jun  6 14:55:53 2008
@@ -58,11 +58,11 @@
     $agent_a->content_like(qr/bla-bla/ims, 'the message on the page');
 
     $agent_a->content_like(
-        qr/There are unread messages/ims,
+        qr/unread message/ims,
         'we have not seen something'
     );
 
-    $agent_a->follow_link_ok({text => 'mark them all as seen'}, 'try to mark all as seen');
+    $agent_a->follow_link_ok({text => 'jump to the first unread message and mark all messages as seen'}, 'try to mark all as seen');
     $agent_a->content_like(
         qr/Marked all messages as seen/ims,
         'see success message'
@@ -70,7 +70,7 @@
 
     $agent_a->goto_ticket($tid);
     $agent_a->content_unlike(
-        qr/There are unread messages/ims,
+        qr/unread message/ims,
         'we have seen everything, so no messages'
     );
 }


More information about the Rt-commit mailing list