move to new DBIxDS code
[catagits/App-IdiotBox.git] / t / store / sqlite.t
CommitLineData
265c2b91 1use strict;
2use warnings FATAL => 'all';
3
4use App::IdiotBox::Store::SQLite;
6df05090 5use App::IdiotBox;
265c2b91 6
7use Devel::Dwarn;
8
6df05090 9my $ib = App::IdiotBox->new;
265c2b91 10
11App::IdiotBox::Store::SQLite->bind($ib);
12
6df05090 13Dwarn [ $ib->{recent_announcements}->flatten ];
265c2b91 14my $bucket = DwarnS $ib->{buckets}->get({ slug => 'opw2010'});
15
16#Dwarn [ $bucket->{videos}->flatten ];
17
18Dwarn $bucket->{videos}->get({ slug => 'troll-god-mountain' });