Changeset 903
- Timestamp:
- 12/09/06 16:14:44 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
lib/OpenGuides/Feed.pm (modified) (2 diffs)
-
t/22_feed_recent_changes.t (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/OpenGuides/Feed.pm
r900 r903 249 249 software_homepage => 'http://openguides.org/', 250 250 software_version => $self->{og_version}, 251 encoding => $self->{config}->http_charset, 251 252 ); 252 253 } … … 269 270 software_homepage => 'http://openguides.org/', 270 271 software_version => $self->{og_version}, 272 encoding => $self->{config}->http_charset, 271 273 ); 272 274 } -
trunk/t/22_feed_recent_changes.t
r817 r903 22 22 # Which feed types do we test? 23 23 my @feed_types = qw( rss atom ); 24 plan tests => 9* scalar @feed_types;24 plan tests => 10 * scalar @feed_types; 25 25 26 26 my %content_types = (rss=>'application/rdf+xml', atom=>'application/atom+xml'); … … 42 42 template_path => "./templates", 43 43 home_name => "Home", 44 use_plucene => 1 44 use_plucene => 1, 45 http_charset => "UTF-7", 45 46 } 46 47 ); … … 59 60 # that we actually got the right feed) 60 61 like( $feed_output, "/$feed_type/i", "Does contain the feed type" ); 62 63 # Check the XML 64 like( $feed_output, qr/<?xml version="1.0" encoding="UTF-7"/, "Right XML type and encoding" ); 61 65 62 66 # Now write some data, first a minor edit then a non-minor one.
