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:
- 882 Bytes
1 | require 'test/unit' |
2 | require File.dirname(__FILE__) + '/../../../../test/test_helper' |
3 | |
4 | class AimpresenceSidebarTest < Test::Unit::TestCase |
5 | def setup |
6 | @sidebar = AimpresenceSidebar.new |
7 | end |
8 | |
9 | def test_sidebar_is_available |
10 | assert Sidebar.available_sidebars.include?( AimpresenceSidebar ) |
11 | end |
12 | |
13 | def test_display_name |
14 | assert_equal 'AIM Presence', AimpresenceSidebar.display_name |
15 | end |
16 | |
17 | def test_description |
18 | assert_equal <<EOS, AimpresenceSidebar.description |
19 | Displays the Online presence of an AOL Instant Messenger screen name<br/> |
20 | If you don\'t have a key, register <a href="http://www.aim.com/presence">here</a>. |
21 | EOS |
22 | end |
23 | |
24 | def test_sn |
25 | assert_equal '', @sidebar.sn |
26 | assert_equal 'Screen Name', @sidebar.fieldmap(:sn).label |
27 | end |
28 | |
29 | def test_devkey |
30 | assert_equal '', @sidebar.devkey |
31 | assert_equal 'Key', @sidebar.fieldmap(:devkey).label |
32 | end |
33 | end |