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

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Feb 4 03:31:20 EST 2009


Author: sunnavy
Date: Wed Feb  4 03:31:19 2009
New Revision: 18176

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

Log:
 r19520 at sunnavys-mb:  sunnavy | 2009-02-04 16:30:27 +0800
 fiddle a test to test old format of set arg


Modified: rt/3.999/branches/merge_to_3.8.2/t/web/command_line.t
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/t/web/command_line.t	(original)
+++ rt/3.999/branches/merge_to_3.8.2/t/web/command_line.t	Wed Feb  4 03:31:19 2009
@@ -76,8 +76,8 @@
 expect_handle->before() =~ /Queue (\d+) created/;
 my $queue_id = $1;
 ok($queue_id, "Got queue id=$queue_id");
-# updating users
-expect_send("edit queue/$queue_id set name='EditedQueue$$'", 'Editing the queue');
+# updating users, with old arg format "Name"
+expect_send("edit queue/$queue_id set Name='EditedQueue$$'", 'Editing the queue');
 expect_like(qr/Queue $queue_id updated/, 'Edited the queue');
 expect_send("show queue/$queue_id", 'Showing the queue...');
 expect_like(qr/id: queue\/$queue_id/, 'Saw the queue');


More information about the Rt-commit mailing list