add basic unit tests for MigrationSchema
[dbsrgits/DBIx-Class-DeploymentHandler.git] / t / migration_schema / schema_loader.t
diff --git a/t/migration_schema/schema_loader.t b/t/migration_schema/schema_loader.t
new file mode 100644 (file)
index 0000000..8aa3cdd
--- /dev/null
@@ -0,0 +1,21 @@
+#!perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+use lib 't/lib';
+
+use aliased 'DBIx::Class::DeploymentHandler::MigrationSchema::SchemaLoader';
+
+my $ref = \'';
+my $ms = SchemaLoader->new({
+   schema => $ref,
+});
+
+ok($ms, 'MigrationSchema gets instantiated');
+
+note('doing anything else in this test is way hard.  We just test this in the integration tests');
+
+done_testing;