@@ -55,7 +55,7 class ProjectsControllerTest < ActionController::TestCase | |||||
55 | def test_index_atom |
|
55 | def test_index_atom | |
56 | get :index, :format => 'atom' |
|
56 | get :index, :format => 'atom' | |
57 | assert_response :success |
|
57 | assert_response :success | |
58 |
assert_template 'common/feed.atom |
|
58 | assert_template 'common/feed.atom' | |
59 | assert_select 'feed>title', :text => 'Redmine: Latest projects' |
|
59 | assert_select 'feed>title', :text => 'Redmine: Latest projects' | |
60 | assert_select 'feed>entry', :count => Project.count(:conditions => Project.visible_condition(User.current)) |
|
60 | assert_select 'feed>entry', :count => Project.count(:conditions => Project.visible_condition(User.current)) | |
61 | end |
|
61 | end |
General Comments 0
You need to be logged in to leave comments.
Login now