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:
- 401 Bytes
1 | require File.dirname(__FILE__) + '/../test_helper' |
2 | |
3 | class PageTest < Test::Unit::TestCase |
4 | fixtures :contents |
5 | |
6 | def setup |
7 | @page = Page.find(9) |
8 | end |
9 | |
10 | def test_validate |
11 | a = Page.new |
12 | a.name = 'a-new-name' |
13 | a.title = 'A Fabulous Page yo!' |
14 | a.body = 'x' |
15 | |
16 | assert a.save |
17 | |
18 | b = Page.new |
19 | b.name = a.name |
20 | b.body = a.body |
21 | b.title = a.title |
22 | |
23 | assert !b.save |
24 | end |
25 | end |