@@ -367,7 +367,7 class ProjectsControllerTest < Test::Unit::TestCase | |||||
367 | end |
|
367 | end | |
368 |
|
368 | |||
369 | def test_global_activity_routing |
|
369 | def test_global_activity_routing | |
370 | assert_routing({:method => :get, :path => '/activity'}, :controller => 'projects', :action => 'activity') |
|
370 | assert_routing({:method => :get, :path => '/activity'}, :controller => 'projects', :action => 'activity', :id => nil) | |
371 | end |
|
371 | end | |
372 |
|
372 | |||
373 | def test_global_activity |
|
373 | def test_global_activity | |
@@ -407,7 +407,7 class ProjectsControllerTest < Test::Unit::TestCase | |||||
407 | end |
|
407 | end | |
408 |
|
408 | |||
409 | def test_global_activity_atom_routing |
|
409 | def test_global_activity_atom_routing | |
410 | assert_routing({:method => :get, :path => '/activity.atom'}, :controller => 'projects', :action => 'activity', :format => 'atom') |
|
410 | assert_routing({:method => :get, :path => '/activity.atom'}, :controller => 'projects', :action => 'activity', :id => nil, :format => 'atom') | |
411 | end |
|
411 | end | |
412 |
|
412 | |||
413 | def test_activity_atom_feed |
|
413 | def test_activity_atom_feed |
General Comments 0
You need to be logged in to leave comments.
Login now