remove hard-coded '.rxml' from 'test_index_atom' at functional projects controller test (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7574 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2a27cc41f0
commit
43a31e2ca7
|
@ -55,7 +55,7 @@ class ProjectsControllerTest < ActionController::TestCase
|
||||||
def test_index_atom
|
def test_index_atom
|
||||||
get :index, :format => 'atom'
|
get :index, :format => 'atom'
|
||||||
assert_response :success
|
assert_response :success
|
||||||
assert_template 'common/feed.atom.rxml'
|
assert_template 'common/feed.atom'
|
||||||
assert_select 'feed>title', :text => 'Redmine: Latest projects'
|
assert_select 'feed>title', :text => 'Redmine: Latest projects'
|
||||||
assert_select 'feed>entry', :count => Project.count(:conditions => Project.visible_condition(User.current))
|
assert_select 'feed>entry', :count => Project.count(:conditions => Project.visible_condition(User.current))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue