projects
/
dbsrgits/DBIx-Class-DeploymentHandler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4ea147c
)
test for vanilla upgrade
Arthur Axel 'fREW' Schmidt [Tue, 23 Feb 2010 05:15:46 +0000 (23:15 -0600)]
lib/DBIx/Class/DeploymentHandler.pm
patch
|
blob
|
blame
|
history
t/02-instantiation.t
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/DeploymentHandler.pm
b/lib/DBIx/Class/DeploymentHandler.pm
index
4d9fc13
..
d4d2db5
100644
(file)
--- a/
lib/DBIx/Class/DeploymentHandler.pm
+++ b/
lib/DBIx/Class/DeploymentHandler.pm
@@
-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;
diff --git
a/t/02-instantiation.t
b/t/02-instantiation.t
index
b4da432
..
9765eff
100644
(file)
--- a/
t/02-instantiation.t
+++ b/
t/02-instantiation.t
@@
-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',