[Bps-public-commit] SD - A distributed issue tracker branch, master, updated. 869366cf4bf6469b82ecf3ac822e44d1f0dfafbd
spang at bestpractical.com
spang at bestpractical.com
Tue Jan 20 14:04:16 EST 2009
The branch, master has been updated
via 869366cf4bf6469b82ecf3ac822e44d1f0dfafbd (commit)
from 0934ed05485a48e35f7153a1492e5604e5172dc5 (commit)
Summary of changes:
t/sd-validation.t | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 869366cf4bf6469b82ecf3ac822e44d1f0dfafbd
Author: Christine Spang <spang at bestpractical.com>
Date: Tue Jan 20 21:04:05 2009 +0200
test force-setting props from the CLI with !
diff --git a/t/sd-validation.t b/t/sd-validation.t
index 15b94c0..72b57d5 100644
--- a/t/sd-validation.t
+++ b/t/sd-validation.t
@@ -2,7 +2,7 @@
use strict;
-use Prophet::Test tests => 11;
+use Prophet::Test tests => 12;
use App::SD::Test;
no warnings 'once';
@@ -94,7 +94,14 @@ run_output_matches( 'sd', [ 'ticket',
);
-
+# check to make sure that we can force-set props
+is_script_output( 'sd', [ 'ticket',
+ 'update', '--uuid', $yatta_uuid, '--', '--status', 'super!'
+ ],
+ [qr/ticket $yatta_id \($yatta_uuid\) updated/], #stdout
+ [], # stderr
+ "we can force-set an invalid prop"
+);
1;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list