[Rt-commit] r13228 - in rt/branches/3.8-TESTING: .
sartak at bestpractical.com
sartak at bestpractical.com
Thu Jun 12 15:14:18 EDT 2008
Author: sartak
Date: Thu Jun 12 15:14:04 2008
New Revision: 13228
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/t/web/command_line.t
Log:
r62298 at onn: sartak | 2008-06-12 15:13:29 -0400
Some typos and expected output changes in t/web/command_line.t
Modified: rt/branches/3.8-TESTING/t/web/command_line.t
==============================================================================
--- rt/branches/3.8-TESTING/t/web/command_line.t (original)
+++ rt/branches/3.8-TESTING/t/web/command_line.t Thu Jun 12 15:14:04 2008
@@ -173,22 +173,22 @@
# Test reading and setting custom fields with spaces
expect_send("show ticket/$ticket_id -f 'CF-my CF$$'", 'Checking initial value');
-expect_like(qr/my CF$$:/i, 'Verified change');
+expect_like(qr/CF\.{my CF$$}:/i, 'Verified change');
expect_send("edit ticket/$ticket_id set 'CF-my CF$$=VALUE' ", 'Changing CF...');
expect_like(qr/Ticket $ticket_id updated/, 'Changed cf');
expect_send("show ticket/$ticket_id -f 'CF-my CF$$'", 'Checking new value');
-expect_like(qr/my CF$$: VALUE/i, 'Verified change');
+expect_like(qr/CF\.{my CF$$}: VALUE/i, 'Verified change');
expect_send("ls 'id = $ticket_id' -f 'CF-my CF$$'", 'Checking new value');
-expect_like(qr/my CF$$: VALUE/i, 'Verified change');
+expect_like(qr/CF\.{my CF$$}: VALUE/i, 'Verified change');
expect_send("show ticket/$ticket_id -f 'CF.{my CF$$}'", 'Checking initial value');
expect_like(qr/CF\.{my CF$$}: VALUE/i, 'Verified change');
-expect_send("edit ticket/$ticket_id set 'CF.{my CF$$=NEW}' ", 'Changing CF...');
+expect_send("edit ticket/$ticket_id set 'CF.{my CF$$}=NEW' ", 'Changing CF...');
expect_like(qr/Ticket $ticket_id updated/, 'Changed cf');
expect_send("show ticket/$ticket_id -f 'CF.{my CF$$}'", 'Checking new value');
expect_like(qr/CF\.{my CF$$}: NEW/i, 'Verified change');
expect_send("ls 'id = $ticket_id' -f 'CF.{my CF$$}'", 'Checking new value');
-expect_like(qr/CF\.{my CF$$: NEW}/i, 'Verified change');
+expect_like(qr/CF\.{my CF$$}: NEW/i, 'Verified change');
# ...
# change a ticket's ...[other properties]...
More information about the Rt-commit
mailing list