Fixes tests broken by r2532 (#2853).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2535 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e63ccffd59
commit
a95a8aa40b
|
@ -367,7 +367,7 @@ class ProjectsControllerTest < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_global_activity_routing
|
def test_global_activity_routing
|
||||||
assert_routing({:method => :get, :path => '/activity'}, :controller => 'projects', :action => 'activity')
|
assert_routing({:method => :get, :path => '/activity'}, :controller => 'projects', :action => 'activity', :id => nil)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_global_activity
|
def test_global_activity
|
||||||
|
@ -407,7 +407,7 @@ class ProjectsControllerTest < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_global_activity_atom_routing
|
def test_global_activity_atom_routing
|
||||||
assert_routing({:method => :get, :path => '/activity.atom'}, :controller => 'projects', :action => 'activity', :format => 'atom')
|
assert_routing({:method => :get, :path => '/activity.atom'}, :controller => 'projects', :action => 'activity', :id => nil, :format => 'atom')
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_activity_atom_feed
|
def test_activity_atom_feed
|
||||||
|
|
Loading…
Reference in New Issue