Ignore:
Timestamp:
Jul 6, 2006, 5:09:18 PM (15 years ago)
Author:
nick
Message:

Shift the content type method
Add mini feed method
Start to do urls, names etc for feeds properly
New tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/22_feed_recent_changes.t

    r808 r817  
    2222# Which feed types do we test?
    2323my @feed_types = qw( rss atom );
    24 plan tests => 8 * scalar @feed_types;
     24plan tests => 9 * scalar @feed_types;
    2525
     26my %content_types = (rss=>'application/rdf+xml', atom=>'application/atom+xml');
    2627
    2728foreach my $feed_type (@feed_types) {
     
    5051    my $feed = OpenGuides::Feed->new( wiki   => $wiki,
    5152                                      config => $config );
     53    is( $feed->default_content_type($feed_type), $content_types{$feed_type}, "Return the right content type" );
    5254
    5355    my $feed_output = eval { $feed->make_feed(feed_type => $feed_type, feed_listing => 'recent_changes'); };
Note: See TracChangeset for help on using the changeset viewer.