root/trunk/plagger/t/plugins/Filter-EntryFullText/pitchforkmedia.t

Revision 1344 (checked in by youpy, 14 years ago)

TestPlagger?: test_requires_network() allows host to check network availability

Line 
1 use t::TestPlagger;
2
3 test_plugin_deps;
4 test_requires 'HTML::TreeBuilder::XPath', 0;
5 test_requires_network 'www.pitchforkmedia.com:80';
6
7 plan 'no_plan';
8 run_eval_expected;
9
10 __END__
11
12 === Test pitchforkmedia
13 --- input config
14 global:
15   cache:
16     class: Plagger::Cache::Null
17 plugins:
18   - module: CustomFeed::Debug
19     config:
20       title: Pitchforkmedia
21       entry:
22         - title: Pitchfork Feature: Interview: Thom Yorke
23           link: http://www.pitchforkmedia.com/article/feature/37863/
24   - module: Filter::EntryFullText
25 --- expected
26 ok $context->update->feeds->[0]->entries->[0]->body;
27
Note: See TracBrowser for help on using the browser.