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

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

Added Publish::Serializer via http://naoya.g.hatena.ne.jp/naoya/20060315/1142433649

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