Bump version for release
[catagits/XML-Feed.git] / t / 16-convert-mult-categories.t
CommitLineData
ff32fd51 1# $Id$
2
3use strict;
4use Test::More tests => 2;
5use XML::Feed;
6
7my $feed = XML::Feed->parse("t/samples/rss-multiple-categories.xml");
8
9my ($entry) = $feed->entries;
10
11is_deeply(
12 [$entry->category()],
13 ["foo", "bar", "quux", "simon's tags"],
14"Got all categories");
15
16my ($converted_entry) = $feed->convert('Atom')->entries;
17
18is_deeply(
19 [$converted_entry->category()],
20 ["foo", "bar", "quux", "simon's tags"],
21"All categories in place after conversion");