From: Johannes Plunien Date: Fri, 5 Dec 2008 06:16:39 +0000 (+0000) Subject: using :memory: sqlite db instead of File::Temp::tempfile X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fae12c808912dfa2a92c4732107d9d7b3fd4efb5;p=dbsrgits%2FDBIx-Class-ResultSet-HashRef.git using :memory: sqlite db instead of File::Temp::tempfile --- diff --git a/t/10-hashref.t b/t/10-hashref.t index 73e0e5d..b1ebe9b 100644 --- a/t/10-hashref.t +++ b/t/10-hashref.t @@ -15,11 +15,9 @@ BEGIN { 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/;