root/trunk/plagger/t/plugins/Filter-DeliciousFeedTags/base.t

Revision 1384 (checked in by miyagawa, 14 years ago)

add test for Filter::DeliciousFeedTags?

Line 
1 use strict;
2 use t::TestPlagger;
3
4 test_plugin_deps;
5 plan 'no_plan';
6 run_eval_expected;
7
8 __END__
9
10 === Loading Filter::DeliciousFeedTags
11 --- input config
12 plugins:
13   - module: Filter::DeliciousFeedTags
14 --- expected
15 ok 1, $block->name;
16
17 === Loading Filter::DeliciousFeedTags
18 --- input config
19 plugins:
20   - module: Subscription::Config
21     config:
22       feed:
23         - http://del.icio.us/rss/nagayama
24   - module: Filter::DeliciousFeedTags
25 --- expected
26 ok grep scalar @{$_->tags} > 1, $context->update->feeds->[0]->entries;
Note: See TracBrowser for help on using the browser.