##// END OF EJS Templates
remove hard-coded '.rxml' from 'test_index_atom' at functional projects controller test (#6317)...
Toshi MARUYAMA -
r7454:43a31e2ca719
parent child
Show More
@@ -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.rxml'
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