[Bps-public-commit] r15567 - in sd/trunk: .
sartak at bestpractical.com
sartak at bestpractical.com
Wed Aug 27 19:48:16 EDT 2008
Author: sartak
Date: Wed Aug 27 19:48:16 2008
New Revision: 15567
Modified:
sd/trunk/ (props changed)
sd/trunk/t/sd-rt-hm.t
Log:
r70611 at onn: sartak | 2008-08-27 19:48:10 -0400
Failing test for pushing a ticket to RT (??)
Modified: sd/trunk/t/sd-rt-hm.t
==============================================================================
--- sd/trunk/t/sd-rt-hm.t (original)
+++ sd/trunk/t/sd-rt-hm.t Wed Aug 27 19:48:16 2008
@@ -25,7 +25,7 @@
push @INC, File::Spec->catdir( Jifty::Util->app_root, "lib" );
}
-plan tests => 10;
+plan tests => 11;
RT::Test->import();
@@ -112,7 +112,11 @@
( $ret, $out, $err ) = run_script( 'sd', [ 'push', '--to', $sd_rt_url ] );
diag($err) if ($err);
- # XXX: to check YATTA ticket created in RT.
+ my @ids = $rt->search(
+ type => 'ticket',
+ query => "Subject LIKE 'Yatta'",
+ );
+ is(@ids, 1, "pushed YATTA ticket to RT");
};
as_alice {
More information about the Bps-public-commit
mailing list