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

jesse jesse at bestpractical.com
Mon Feb 9 22:31:30 EST 2009


The branch, master has been updated
       via  115e1fd41b05120f4d5240ce003775c62ca77ebc (commit)
      from  635ebfe9cb2b9c9bbb1b94138c81fb4043400c60 (commit)

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

- Log -----------------------------------------------------------------
commit 115e1fd41b05120f4d5240ce003775c62ca77ebc
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Mon Feb 9 22:31:02 2009 -0500

    Fix for (13F864D2-F6FA-11DD-A5F3-7D2095F21BD5) server tests assume ordering of record types

diff --git a/t/server.t b/t/server.t
index cd3e9f4..eda7cd9 100644
--- a/t/server.t
+++ b/t/server.t
@@ -34,7 +34,8 @@ my ($uuid) = $t->create( props => { summary => 'The server works' } );
 ok( $uuid, "Created record $uuid" );
 
 $ua->get_ok( url('records.json') );
-is( $ua->content, '["__prophet_db_settings","ticket"]' );
+my $types = eval $ua->content;
+is_deeply ([sort @$types], [sort('__prophet_db_settings', 'ticket')]);
 
 $ua->get_ok( url( 'records', 'ticket', $uuid . ".json" ) );
 

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



More information about the Bps-public-commit mailing list