add basic unit tests for MigrationSchema
[dbsrgits/DBIx-Class-DeploymentHandler.git] / t / migration_schema / from_current.t
CommitLineData
087d8c8a 1#!perl
2
3use strict;
4use warnings;
5
6use Test::More;
7
8use lib 't/lib';
9
10use aliased 'DBIx::Class::DeploymentHandler::MigrationSchema::FromCurrent';
11
12my $ref = \'';
13my $ms = FromCurrent->new({
14 schema => $ref,
15});
16
17ok($ms, 'MigrationSchema gets instantiated');
18is($ref, $ms->migration_schema, 'migration schema correctly passed through schema');
19
20done_testing;