[Bps-public-commit] SD - A distributed issue tracker branch, master, updated. 43c34ea75cf682a3d4c0e7f4571c9914fb40b646

jesse jesse at bestpractical.com
Wed Feb 18 17:14:06 EST 2009


The branch, master has been updated
       via  43c34ea75cf682a3d4c0e7f4571c9914fb40b646 (commit)
       via  eaeeaf96fc74a6f899a40226648fd5efc644695d (commit)
       via  9cf915dc18b7da4bd76f568dc2f8eece6e1837a5 (commit)
      from  8a0ba2fd7cad84dc158ef122a20d2e0fae539f3f (commit)

Summary of changes:
 t/server.t |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 9cf915dc18b7da4bd76f568dc2f8eece6e1837a5
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Wed Feb 18 02:48:43 2009 -0500

    skup test file if the test deps are missing

diff --git a/t/server.t b/t/server.t
index f70c9da..9682c57 100644
--- a/t/server.t
+++ b/t/server.t
@@ -1,7 +1,10 @@
 #!/usr/bin/perl
 use warnings;
 use strict;
-use Test::HTTP::Server::Simple;
+use Prophet::Test;
+
+eval {require Test::HTTP::Server::Simple } || plan skip_all =>'You need Test::HTTP::Server::Simple to run these tests';
+eval {require Test::WWW::Mechanize } || plan skip_all => 'You need Test::WWW::Mechanize to run these tests';
 
 BEGIN {
     use File::Temp qw(tempdir);
@@ -9,9 +12,9 @@ BEGIN {
 
 }
 
-use Prophet::Test tests => 19;
+
+plan tests => 19;
 use App::SD::Server;
-use Test::WWW::Mechanize;
 use JSON;
 
 use_ok('App::SD::Model::Ticket');

commit eaeeaf96fc74a6f899a40226648fd5efc644695d
Merge: 9cf915d... 691c556...
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Wed Feb 18 02:49:06 2009 -0500

    Merge code.bestpractical.com:/git/sd into MASTER


commit 43c34ea75cf682a3d4c0e7f4571c9914fb40b646
Merge: eaeeaf9... 8a0ba2f...
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Wed Feb 18 12:23:36 2009 -0500

    Merge code.bestpractical.com:/git/sd into MASTER


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



More information about the Bps-public-commit mailing list