Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 13
- Log:
Initial import of Typo 2.6.0 sources from a downloaded Tarball.
Typo is a Ruby On Rails based blog engine.
- Author:
- adh
- Date:
- Sat Jul 22 22:25:02 +0100 2006
- Size:
- 1444 Bytes
1 | require File.dirname(__FILE__) + '/../test_helper' |
2 | require 'xml_controller' |
3 | |
4 | # Re-raise errors caught by the controller. |
5 | class XmlController; def rescue_action(e) raise e end; end |
6 | |
7 | class XmlControllerTest < Test::Unit::TestCase |
8 | fixtures :articles, :comments, :trackbacks |
9 | def setup |
10 | @controller = XmlController.new |
11 | @request, @response = ActionController::TestRequest.new, ActionController::TestResponse.new |
12 | end |
13 | |
14 | # Replace this with your real tests. |
15 | def test_articlerss |
16 | get :articlerss, :id => 1 |
17 | assert_response :success |
18 | assert_nothing_raised do |
19 | assert REXML::Document.new(@response.body) |
20 | end |
21 | end |
22 | |
23 | def test_commentrss |
24 | get :commentrss |
25 | assert_response :success |
26 | assert_nothing_raised do |
27 | assert REXML::Document.new(@response.body) |
28 | end |
29 | end |
30 | |
31 | def test_trackbackrss |
32 | get :trackbackrss |
33 | assert_response :success |
34 | assert_nothing_raised do |
35 | assert REXML::Document.new(@response.body) |
36 | end |
37 | end |
38 | |
39 | def test_rss |
40 | get :rss |
41 | assert_response :success |
42 | assert_nothing_raised do |
43 | assert REXML::Document.new(@response.body) |
44 | end |
45 | end |
46 | |
47 | def test_atom |
48 | get :atom |
49 | assert_response :success |
50 | assert_nothing_raised do |
51 | assert REXML::Document.new(@response.body) |
52 | end |
53 | end |
54 | |
55 | def test_rsd |
56 | get :rsd, :id => 1 |
57 | assert_response :success |
58 | assert_nothing_raised do |
59 | assert REXML::Document.new(@response.body) |
60 | end |
61 | end |
62 | end |