[Bast-commits] r5225 - DBIx-Class-ResultSet-HashRef/1.000/trunk/t
plu at dev.catalyst.perl.org
plu at dev.catalyst.perl.org
Fri Dec 5 06:16:39 GMT 2008
Author: plu
Date: 2008-12-05 06:16:39 +0000 (Fri, 05 Dec 2008)
New Revision: 5225
Modified:
DBIx-Class-ResultSet-HashRef/1.000/trunk/t/10-hashref.t
Log:
using :memory: sqlite db instead of File::Temp::tempfile
Modified: DBIx-Class-ResultSet-HashRef/1.000/trunk/t/10-hashref.t
===================================================================
--- DBIx-Class-ResultSet-HashRef/1.000/trunk/t/10-hashref.t 2008-12-05 06:16:35 UTC (rev 5224)
+++ DBIx-Class-ResultSet-HashRef/1.000/trunk/t/10-hashref.t 2008-12-05 06:16:39 UTC (rev 5225)
@@ -15,11 +15,9 @@
use lib 't/lib';
use TestSchema;
-use File::Temp;
# setup
-my ( undef, $db ) = File::Temp::tempfile();
-my $schema = TestSchema->connect( "dbi:SQLite:dbname=${db}", undef, undef );
+my $schema = TestSchema->connect( "dbi:SQLite:dbname=:memory:", undef, undef );
$schema->deploy;
my @users = qw/root toor daemon operator bin tty/;
More information about the Bast-commits
mailing list