Add in Data::Perl::Collection::Set from DBIx-Data-Store-old so we can run tests.
[catagits/App-IdiotBox.git] / t / store / sqlite.t
CommitLineData
265c2b91 1use strict;
2use warnings FATAL => 'all';
3
6b6ce2e0 4use Test::More;
5
265c2b91 6use App::IdiotBox::Store::SQLite;
6df05090 7use App::IdiotBox;
265c2b91 8
9use Devel::Dwarn;
10
6df05090 11my $ib = App::IdiotBox->new;
265c2b91 12
13App::IdiotBox::Store::SQLite->bind($ib);
14
6df05090 15Dwarn [ $ib->{recent_announcements}->flatten ];
265c2b91 16my $bucket = DwarnS $ib->{buckets}->get({ slug => 'opw2010'});
17
18#Dwarn [ $bucket->{videos}->flatten ];
19
20Dwarn $bucket->{videos}->get({ slug => 'troll-god-mountain' });
6b6ce2e0 21
22ok(1); # This even a test? -- alh
23
24done_testing;