[Bps-public-commit] SD branch, master, updated. 0a4e1f2de20a98cbb1e3cadc84be214b3b2eee87

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Jun 12 20:22:48 EDT 2009


The branch, master has been updated
       via  0a4e1f2de20a98cbb1e3cadc84be214b3b2eee87 (commit)
      from  1efca95c0c85cb96785ee7ece8155e31b4c76424 (commit)

Summary of changes:
 t/sd-gcode/basic.t  |    4 +++-
 t/sd-github/basic.t |    4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 0a4e1f2de20a98cbb1e3cadc84be214b3b2eee87
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Sat Jun 13 08:22:34 2009 +0800

    also test pushed data *not* have something we pulled before

diff --git a/t/sd-gcode/basic.t b/t/sd-gcode/basic.t
index b6a0c62..343906b 100644
--- a/t/sd-gcode/basic.t
+++ b/t/sd-gcode/basic.t
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 use Prophet::Test;
 use Path::Class;
-plan tests => 8;
+plan tests => 10;
 use App::SD::Test;
 
 BEGIN {
@@ -67,4 +67,6 @@ diag($out);
 
 like( $out, qr/"content" set to "comment from sd"/, 'comment pushed' );
 like( $out, qr/"summary" set to "YATTA"/, 'ticket yatta pushed' );
+unlike( $out, qr/test for sd/, 'pulled tickets not pushed' );
+unlike( $out, qr/first comment.*second comment/s, 'pulled comments not pushed' );
 
diff --git a/t/sd-github/basic.t b/t/sd-github/basic.t
index 3363066..bd02716 100644
--- a/t/sd-github/basic.t
+++ b/t/sd-github/basic.t
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 use Prophet::Test;
 use Path::Class;
-plan tests => 6;
+plan tests => 8;
 use App::SD::Test;
 
 BEGIN {
@@ -58,4 +58,6 @@ diag($err);
 
 like( $out, qr/"content" set to "comment from sd"/, 'comment pushed' );
 like( $out, qr/"summary" set to "YATTA"/, 'ticket yatta pushed' );
+unlike( $out, qr/test for sd/, 'pulled tickets not pushed' );
+unlike( $out, qr/first comment.*second comment/s, 'pulled comments not pushed' );
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list