Add some tests... or so
[dbsrgits/DBIx-Class-Journal.git] / t / 01test.t
diff --git a/t/01test.t b/t/01test.t
new file mode 100644 (file)
index 0000000..c5cf4e3
--- /dev/null
@@ -0,0 +1,20 @@
+use strict;
+use warnings;  
+
+use Test::More;
+use lib qw(t/lib);
+use DBICTest;
+use Data::Dumper;
+
+BEGIN {
+    eval "use DBD::SQLite";
+    plan $@
+        ? ( skip_all => 'needs DBD::SQLite for testing' )
+        : ( tests => 2 );
+}
+
+my $schema = DBICTest->init_schema(no_populate => 1);
+
+ok($schema, 'Created a Schema');
+isa_ok($schema->_journal_schema, 'DBIx::Class::Schema::Journal::DB');
+