test for vanilla upgrade
Arthur Axel 'fREW' Schmidt [Tue, 23 Feb 2010 05:15:46 +0000 (23:15 -0600)]
lib/DBIx/Class/DeploymentHandler.pm
t/02-instantiation.t

index 4d9fc13..d4d2db5 100644 (file)
@@ -90,7 +90,7 @@ method install($new_version) {
 
 method create_upgrade_path { }
 
-method ordered_schema_versions { }
+method ordered_schema_versions { undef }
 
 method upgrade {
   my $db_version     = $self->db_version;
index b4da432..9765eff 100644 (file)
@@ -100,7 +100,7 @@ VERSION3: {
                                biff => 'frew',
                        })
        } 'schema not deployed';
-       $handler->upgrade_single_step('2.0', '3.0');
+       $handler->upgrade;
        lives_ok {
                $s->resultset('Foo')->create({
                        bar => 'frew',