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:
- 893 Bytes
- Properties:
- Property svn:executable is set
1 | # Unit tests for ApplicationController (the abstract controller class) |
2 | |
3 | require File.dirname(__FILE__) + '/../test_helper' |
4 | require 'wiki_controller' |
5 | require 'rexml/document' |
6 | |
7 | # Need some concrete class to test the abstract class features |
8 | class WikiController; def rescue_action(e) logger.error(e); raise e end; end |
9 | |
10 | class ApplicationTest < Test::Unit::TestCase |
11 | fixtures :webs, :pages, :revisions, :system |
12 | |
13 | def setup |
14 | @controller = WikiController.new |
15 | @request = ActionController::TestRequest.new |
16 | @response = ActionController::TestResponse.new |
17 | @wiki = Wiki.new |
18 | end |
19 | |
20 | def test_utf8_header |
21 | get :show, :web => 'wiki1', :id => 'HomePage' |
22 | assert_equal 'text/html; charset=UTF-8', @response.headers['Content-Type'] |
23 | end |
24 | |
25 | def test_connect_to_model_unknown_wiki |
26 | get :show, :web => 'unknown_wiki', :id => 'HomePage' |
27 | assert_response :missing |
28 | end |
29 | |
30 | end |