Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 15
- Log:
Attempt to update Typo to a Typo SVN HEAD release from around the
time the prototype installation was set up on the RISC OS Open Limited
web site. Timestamps place this at 04-Jul so a revision from 05-Jul or
earlier was pulled and copied over the 2.6.0 tarball stable code.
- Author:
- adh
- Date:
- Sat Jul 22 23:27:35 +0100 2006
- Size:
- 2481 Bytes
1 | require File.dirname(__FILE__) + '/../test_helper' |
2 | |
3 | class FortythreeTest < Test::Unit::TestCase |
4 | |
5 | def setup |
6 | @fortythree = Fortythree.new("", false) |
7 | @fortythree.send(:parse, fixture) |
8 | end |
9 | |
10 | def test_parser |
11 | assert_equal 3, @fortythree.things.size |
12 | end |
13 | |
14 | def test_fields |
15 | assert_equal "43 Things: activity for anoop", @fortythree.title |
16 | assert_equal "http://www.43things.com/people/view/anoop", @fortythree.link |
17 | end |
18 | |
19 | def test_items |
20 | assert_equal "Tidy my room and keep it that way", @fortythree.things[0].title |
21 | assert_equal "http://www.43things.com/things/view/3500", @fortythree.things[0].link |
22 | end |
23 | |
24 | private |
25 | |
26 | def fixture |
27 | %{ |
28 | <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"> |
29 | <channel> |
30 | <title>43 Things: activity for anoop</title> |
31 | <link>http://www.43things.com/people/view/anoop</link> |
32 | <description>activity for anoop</description> |
33 | <pubDate>Sat, 23 Apr 2005 17:01:44 GMT</pubDate> |
34 | <lastBuildDate>Fri, 22 Apr 2005 21:38:34 GMT</lastBuildDate> |
35 | <generator>http://www.43things.com/</generator> |
36 | <image> |
37 | <url>http://www.43things.com/images/icons/43-icon-31x31.gif</url> |
38 | <link>http://www.43things.com/home</link> |
39 | <title>43 Things Icon</title> |
40 | </image> |
41 | <item> |
42 | <title>Tidy my room and keep it that way</title> |
43 | <description><a href="http://www.43things.com/people/view/anoop">anoop</a> adopted this goal</description> |
44 | <pubDate>Fri, 22 Apr 2005 21:38:34 GMT</pubDate> |
45 | <link>http://www.43things.com/things/view/3500</link> |
46 | <author>nobody@43things.com (anoop)</author> |
47 | </item> |
48 | <item> |
49 | <title>run a marathon</title> |
50 | <description><a href="http://www.43things.com/people/view/anoop">anoop</a> adopted this goal</description> |
51 | <pubDate>Fri, 22 Apr 2005 20:38:48 GMT</pubDate> |
52 | <link>http://www.43things.com/things/view/245</link> |
53 | <author>nobody@43things.com (anoop)</author> |
54 | </item> |
55 | <item> |
56 | <title>cure cancer</title> |
57 | <description><a href="http://www.43things.com/people/view/anoop">anoop</a> adopted this goal</description> |
58 | <pubDate>Tue, 01 Mar 2005 08:33:24 GMT</pubDate> |
59 | <link>http://www.43things.com/things/view/36857</link> |
60 | <author>nobody@43things.com (anoop)</author> |
61 | </item> |
62 | </channel> |
63 | </rss> |
64 | } |
65 | end |
66 | end |