Renamed Positional to Ordered and added tests for Ordered.
[dbsrgits/DBIx-Class-Tree.git] / t / 11_adjacencylist_ordered.t
diff --git a/t/11_adjacencylist_ordered.t b/t/11_adjacencylist_ordered.t
new file mode 100644 (file)
index 0000000..6c1419e
--- /dev/null
@@ -0,0 +1,20 @@
+# vim: filetype=perl:ts=8:sw=4:sts=4:et
+use strict;
+use warnings;
+use lib 't/lib';
+
+use Test::More;
+use TreeTest;
+
+TreeTest::Schema::Node->load_components(qw(
+    Tree::AdjacencyList::Ordered
+));
+
+TreeTest::Schema::Node->position_column( 'position' );
+TreeTest::Schema::Node->parent_column( 'parent_id' );
+
+my $tests = TreeTest::count_tests();
+plan tests => $tests;
+TreeTest::run_tests();
+
+1;