this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

corrected tests to set default options

+11 -2
+11 -2
lib/CHI/Driver/MongoDB/t/CHIDriverTests/MongoDB.pm
··· 26 26 }; 27 27 } 28 28 29 + sub new_cache_options { 30 + my $self = shift; 31 + 32 + return ( 33 + $self->SUPER::new_cache_options(), 34 + db => $self->db, 35 + ); 36 + } 37 + 29 38 sub test_with_database : Tests(1) { 30 39 return "MongoDB::Database not installed" 31 40 unless can_load( modules => { "MongoDB::Database" => undef } ); 32 41 33 - my $self = shift; 42 + my $self = shift; 34 43 my $cache = CHI->new( 35 44 driver => "MongoDB", 36 45 db => $self->db ··· 45 54 return "MongoDB::Connection not installed" 46 55 unless can_load( modules => { "MongoDB::Connection" => undef } ); 47 56 48 - my $self = shift; 57 + my $self = shift; 49 58 my $cache = CHI->new( 50 59 driver => "MongoDB", 51 60 conn => MongoDB::Connection->new,