Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 193
- Log:
First stage commit of Typo 4.1, modified for the ROOL site.
Includes all local modifications but a final pass needs to be
made to delete any files left over from earlier Typo versions
that shouldn't be here anymore. See the 'tags' section of the
repository for a clean Typo 4.1 tree.Note that symlinks to shared files in the RISC OS Open theme
directory have been deliberately included this time around; I
decided that on balance it was better to leave them in as
placeholders, since unlike symlinks in app/views/shared, the
Typo theme structure is not a standard Rails concept.
- Author:
- rool
- Date:
- Wed Apr 04 18:51:02 +0100 2007
- Size:
- 3235 Bytes
1 | require File.dirname(__FILE__) + '/../spec_helper' |
2 | |
3 | context 'Given a parsed Delicious RDF fixture' do |
4 | setup do |
5 | @delicious = Delicious.new("", false) |
6 | @delicious.send(:parse, fixture) |
7 | end |
8 | |
9 | specify 'there should be three items' do |
10 | @delicious.should_have(3).items |
11 | end |
12 | |
13 | specify "title should be 'del.icio.us/shanev'" do |
14 | @delicious.title.should == 'del.icio.us/shanev' |
15 | end |
16 | |
17 | specify "link should be 'http://del.icio.us/shanev'" do |
18 | @delicious.link.should == 'http://del.icio.us/shanev' |
19 | end |
20 | |
21 | specify 'first item title should be "Guide to Using XMLHttpRequest (with Baby Steps)"' do |
22 | @delicious.items.first.title.should == "Guide to Using XMLHttpRequest (with Baby Steps)" |
23 | end |
24 | |
25 | specify 'first item link should be "http://www.webpasties.com/xmlHttpRequest/"' do |
26 | @delicious.items.first.link.should == "http://www.webpasties.com/xmlHttpRequest/" |
27 | end |
28 | |
29 | |
30 | |
31 | def fixture |
32 | %{<?xml version="1.0" encoding="UTF-8"?> |
33 | <rdf:RDF |
34 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
35 | xmlns="http://purl.org/rss/1.0/" |
36 | xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" |
37 | xmlns:dc="http://purl.org/dc/elements/1.1/" |
38 | xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" |
39 | xmlns:admin="http://webns.net/mvcb/" |
40 | > |
41 | |
42 | <channel rdf:about="http://del.icio.us/shanev"> |
43 | <title>del.icio.us/shanev</title> |
44 | <link>http://del.icio.us/shanev</link> |
45 | <description></description> |
46 | <items> |
47 | <rdf:Seq> |
48 | <rdf:li rdf:resource="http://www.webpasties.com/xmlHttpRequest/" /> |
49 | <rdf:li rdf:resource="http://www.w3schools.com/js/default.asp" /> |
50 | |
51 | <rdf:li rdf:resource="http://www.feedfab.com/xmljs/" /> |
52 | </rdf:Seq> |
53 | </items> |
54 | </channel> |
55 | |
56 | <item rdf:about="http://www.webpasties.com/xmlHttpRequest/"> |
57 | <title>Guide to Using XMLHttpRequest (with Baby Steps)</title> |
58 | <link>http://www.webpasties.com/xmlHttpRequest/</link> |
59 | <dc:creator>shanev</dc:creator> |
60 | <dc:date>2005-02-24T07:11Z</dc:date> |
61 | <dc:subject>XMLHTTPRequest</dc:subject> |
62 | |
63 | <taxo:topics> |
64 | <rdf:Bag> |
65 | <rdf:li resource="http://del.icio.us/tag/XMLHTTPRequest" /> |
66 | </rdf:Bag> |
67 | </taxo:topics> |
68 | </item> |
69 | |
70 | <item rdf:about="http://www.w3schools.com/js/default.asp"> |
71 | <title>W3 Schools Javascript Tutorial</title> |
72 | <link>http://www.w3schools.com/js/default.asp</link> |
73 | <dc:creator>shanev</dc:creator> |
74 | |
75 | <dc:date>2005-02-24T04:03Z</dc:date> |
76 | <dc:subject>javascript</dc:subject> |
77 | <taxo:topics> |
78 | <rdf:Bag> |
79 | <rdf:li resource="http://del.icio.us/tag/javascript" /> |
80 | </rdf:Bag> |
81 | </taxo:topics> |
82 | </item> |
83 | |
84 | <item rdf:about="http://www.feedfab.com/xmljs/"> |
85 | <title>XMLHTTPRequest Library</title> |
86 | |
87 | <link>http://www.feedfab.com/xmljs/</link> |
88 | <dc:creator>shanev</dc:creator> |
89 | <dc:date>2005-02-22T21:36Z</dc:date> |
90 | <dc:subject>XMLHTTPRequest</dc:subject> |
91 | <taxo:topics> |
92 | <rdf:Bag> |
93 | <rdf:li resource="http://del.icio.us/tag/XMLHTTPRequest" /> |
94 | </rdf:Bag> |
95 | </taxo:topics> |
96 | </item> |
97 | |
98 | </rdf:RDF> |
99 | } |
100 | end |
101 | end |