Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 86
- Log:
Initial import of I2, an Instiki clone.
- Author:
- adh
- Date:
- Mon Oct 16 10:40:36 +0100 2006
- Size:
- 461 Bytes
1 | require File.dirname(__FILE__) + '/../test_helper' |
2 | |
3 | class BookTest < Test::Unit::TestCase |
4 | fixtures :books, :pages, :versions |
5 | |
6 | def test_creation_with_home_page |
7 | book = Book.create(:name => "Of the Ages") |
8 | assert_equal 1, book.pages.size |
9 | assert book.reload.existing_page_titles.include?("Home Page") |
10 | assert_equal "Welcome to i2!", book.pages.first.versions.first.body |
11 | assert_equal "i2", book.pages.first.versions.first.author.name |
12 | end |
13 | end |