X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F02-instantiation.t;h=96996441603876c41db25bed078ad559cd4f3fd1;hb=84afdcb37642d456f42de873944347b45555066b;hp=82acd105aa22572c062fe33d1d5d5be43387c187;hpb=76d311e71dd647d82d18271d12e86baf11f5e525;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/t/02-instantiation.t b/t/02-instantiation.t index 82acd10..9699644 100644 --- a/t/02-instantiation.t +++ b/t/02-instantiation.t @@ -22,7 +22,7 @@ VERSION1: { upgrade_directory => $sql_dir, schema => $s, databases => 'SQLite', - sqltargs => { add_drop_table => 0 }, + sqltargs => { add_drop_table => 0 }, }); ok($handler, 'DBIx::Class::DeploymentHandler w/1.0 instantiates correctly'); @@ -37,6 +37,9 @@ VERSION1: { }) } 'schema not deployed'; $handler->install; + dies_ok { + $handler->install; + } 'cannot install twice'; lives_ok { $s->resultset('Foo')->create({ bar => 'frew',