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:
- 698 Bytes
1 | require File.dirname(__FILE__) + '/../../test_helper' |
2 | require 'admin/general_controller' |
3 | |
4 | # Re-raise errors caught by the controller. |
5 | class Admin::GeneralController; def rescue_action(e) raise e end; end |
6 | |
7 | class Admin::GeneralControllerTest < Test::Unit::TestCase |
8 | fixtures :users |
9 | |
10 | def setup |
11 | @controller = Admin::GeneralController.new |
12 | @request = ActionController::TestRequest.new |
13 | @response = ActionController::TestResponse.new |
14 | @request.session = { :user => users(:tobi) } |
15 | end |
16 | |
17 | def test_index |
18 | get :index |
19 | assert_rendered_file 'index' |
20 | end |
21 | |
22 | def test_redirect |
23 | get :redirect |
24 | assert_redirected_to :controller => 'admin/general', :action => 'index' |
25 | end |
26 | end |