@@ -98,7 +98,7 class ActivitiesControllerTest < ActionController::TestCase | |||
|
98 | 98 | def test_index_atom_feed |
|
99 | 99 | get :index, :format => 'atom', :with_subprojects => 0 |
|
100 | 100 | assert_response :success |
|
101 |
assert_template 'common/feed |
|
|
101 | assert_template 'common/feed' | |
|
102 | 102 | |
|
103 | 103 | assert_tag :tag => 'link', :parent => {:tag => 'feed', :parent => nil }, |
|
104 | 104 | :attributes => {:rel => 'self', :href => 'http://test.host/activity.atom?with_subprojects=0'} |
@@ -122,7 +122,7 class ActivitiesControllerTest < ActionController::TestCase | |||
|
122 | 122 | :show_wiki_edits => 1 |
|
123 | 123 | |
|
124 | 124 | assert_response :success |
|
125 |
assert_template 'common/feed |
|
|
125 | assert_template 'common/feed' | |
|
126 | 126 | |
|
127 | 127 | assert_tag :tag => 'link', :parent => {:tag => 'feed', :parent => nil }, |
|
128 | 128 | :attributes => {:rel => 'self', :href => 'http://test.host/activity.atom?show_changesets=1&show_documents=1&show_files=1&show_issues=1&show_messages=1&show_news=1&show_time_entries=1&show_wiki_edits=1&with_subprojects=0'} |
@@ -137,7 +137,7 class ActivitiesControllerTest < ActionController::TestCase | |||
|
137 | 137 | def test_index_atom_feed_with_one_item_type |
|
138 | 138 | get :index, :format => 'atom', :show_issues => '1' |
|
139 | 139 | assert_response :success |
|
140 |
assert_template 'common/feed |
|
|
140 | assert_template 'common/feed' | |
|
141 | 141 | assert_tag :tag => 'title', :content => /Issues/ |
|
142 | 142 | end |
|
143 | 143 | end |
@@ -68,7 +68,7 class BoardsControllerTest < ActionController::TestCase | |||
|
68 | 68 | def test_show_atom |
|
69 | 69 | get :show, :project_id => 1, :id => 1, :format => 'atom' |
|
70 | 70 | assert_response :success |
|
71 |
assert_template 'common/feed |
|
|
71 | assert_template 'common/feed' | |
|
72 | 72 | assert_not_nil assigns(:board) |
|
73 | 73 | assert_not_nil assigns(:project) |
|
74 | 74 | assert_not_nil assigns(:messages) |
@@ -55,7 +55,7 class ProjectsControllerTest < ActionController::TestCase | |||
|
55 | 55 | def test_index_atom |
|
56 | 56 | get :index, :format => 'atom' |
|
57 | 57 | assert_response :success |
|
58 |
assert_template 'common/feed |
|
|
58 | assert_template 'common/feed' | |
|
59 | 59 | assert_select 'feed>title', :text => 'Redmine: Latest projects' |
|
60 | 60 | assert_select 'feed>entry', :count => Project.count(:conditions => Project.visible_condition(User.current)) |
|
61 | 61 | end |
General Comments 0
You need to be logged in to leave comments.
Login now