[Bps-public-commit] Prophet branch, master, updated. 0.69_01-53-g2942cab
spang at bestpractical.com
spang at bestpractical.com
Thu Sep 3 20:24:13 EDT 2009
The branch, master has been updated
via 2942cab6990ace93723b7f1d54b6e926b6ad0782 (commit)
from a90e8d740acb375bb18db06218d8f1e3f18c9938 (commit)
Summary of changes:
t/record-types.t | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 2942cab6990ace93723b7f1d54b6e926b6ad0782
Author: Christine Spang <spang at bestpractical.com>
Date: Thu Sep 3 20:24:08 2009 -0400
One more test here
diff --git a/t/record-types.t b/t/record-types.t
index 2d80006..6e5b072 100644
--- a/t/record-types.t
+++ b/t/record-types.t
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
use strict;
-use Prophet::Test tests => 3;
+use Prophet::Test tests => 4;
BEGIN {
require File::Temp;
@@ -31,5 +31,9 @@ my ($output, $error)
= (run_command( qw(update --type ticket --id), $comment_id,
qw(-- status=closed) ) );
-like( $error, qr/couldn't find/,
+like( $error, qr/couldn't find a ticket with that id/,
"Couldn't update comment record as ticket type" );
+
+($output, $error) = run_command( qw(show --type ticket --id), $comment_uuid );
+like( $error, qr/couldn't find a ticket with that id/,
+ "Couldn't show ticket with comment's uuid" );
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list