root/trunk/plagger/t/regression/run_hook_once.t

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

added plan. This test will fail

Line 
1 use strict;
2 use FindBin;
3 use t::TestPlagger;
4
5 test_requires_network;
6 plan tests => 2;
7 run_eval_expected;
8
9 __END__
10
11 === EFT -> CFS
12 --- input config
13 plugins:
14   - module: Subscription::Config
15     config:
16       feed:
17         - url: http://www.asahi.com/
18           meta:
19             follow_link: politics/update/
20   - module: Filter::EntryFullText
21   - module: CustomFeed::Simple
22 --- expected
23 ok $context->update->feeds->[0]->entries->[0]->body;
24
25 === CFS => EFT
26 --- input config
27 plugins:
28   - module: Subscription::Config
29     config:
30       feed:
31         - http://sportsnavi.yahoo.co.jp/
32   - module: CustomFeed::Simple
33   - module: Filter::EntryFullText
34 --- expected
35 ok $context->update->feeds->[0]->entries->[0]->body;
Note: See TracBrowser for help on using the browser.