Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 2
- Log:
Initial import of Instiki 0.11.0 sources from a downloaded Tarball.
Instiki is a Ruby On Rails based Wiki clone.
- Author:
- adh
- Date:
- Sat Jul 22 14:54:51 +0100 2006
- Size:
- 557 Bytes
1 | require 'test/unit' |
2 | |
3 | class ChunkTest < Test::Unit::TestCase |
4 | |
5 | # Asserts a number of tests for the given type and text. |
6 | def match(type, test_text, expected) |
7 | pattern = type.pattern |
8 | assert_match(pattern, test_text) |
9 | pattern =~ test_text # Previous assertion guarantees match |
10 | chunk = type.new($~) |
11 | |
12 | # Test if requested parts are correct. |
13 | for method_sym, value in expected do |
14 | assert_respond_to(chunk, method_sym) |
15 | assert_equal(value, chunk.method(method_sym).call, "Checking value of '#{method_sym}'") |
16 | end |
17 | end |
18 | end |