[Rt-commit] r18179 - in rt/3.999/branches/merge_to_3.8.2: t/web

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Feb 4 04:12:09 EST 2009


Author: sunnavy
Date: Wed Feb  4 04:12:09 2009
New Revision: 18179

Modified:
   rt/3.999/branches/merge_to_3.8.2/   (props changed)
   rt/3.999/branches/merge_to_3.8.2/t/web/rest.t

Log:
 r19530 at sunnavys-mb:  sunnavy | 2009-02-04 17:11:56 +0800
 revert to old format for t/web/rest.t


Modified: rt/3.999/branches/merge_to_3.8.2/t/web/rest.t
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/t/web/rest.t	(original)
+++ rt/3.999/branches/merge_to_3.8.2/t/web/rest.t	Wed Feb  4 04:12:09 2009
@@ -35,7 +35,7 @@
 
 $text = join "\n", @lines;
 
-ok($text =~ s/subject:\s*$/subject: REST interface/m, "successfully replaced subject");
+ok($text =~ s/Subject:\s*$/Subject: REST interface/m, "successfully replaced subject");
 
 $m->post("$baseurl/REST/1.0/ticket/edit", [
     user    => 'root',
@@ -63,10 +63,10 @@
 # the fields are interpreted server-side a hash (why?), so we can't depend
 # on order
 for ("id: ticket/1",
-     "subject: REST interface",
+     "Subject: REST interface",
      "CF.{fu()n:k/}: maximum",
      "CF.{severity}: explosive",
-     "status: new") {
+     "Status: new") {
         $m->content_contains($_);
 }
 


More information about the Rt-commit mailing list