[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-602-g9394af9
? sunnavy
sunnavy at bestpractical.com
Thu Aug 26 22:21:39 EDT 2010
The branch, 3.9-trunk has been updated
via 9394af95777fa303132c34dd7d47c9c8e48cb29b (commit)
from 8a58888e73776621bf970a72945e92a83a2a265b (commit)
Summary of changes:
t/web/requestor_groups_limit.t | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 9394af95777fa303132c34dd7d47c9c8e48cb29b
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Aug 27 10:05:02 2010 +0800
use loose check: it's not sure about thr order
diff --git a/t/web/requestor_groups_limit.t b/t/web/requestor_groups_limit.t
index 768af97..9650773 100644
--- a/t/web/requestor_groups_limit.t
+++ b/t/web/requestor_groups_limit.t
@@ -20,8 +20,8 @@ ok( $id, 'created ticket' );
my ( $url, $m ) = RT::Test->started_ok;
ok( $m->login(), 'logged in as root' );
$m->get_ok( $url . '/Ticket/Display.html?id=' . $id );
-$m->content_contains( 'Everyone', 'got the first group' );
-$m->content_lacks( 'Privileged', 'not the second group' );
+$m->content_like( qr/Everyone|Privileged/, 'got one group' );
+$m->content_unlike( qr/Everyone.*?Privileged/, 'not 2 groups' );
RT::Test->stop_server;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list