@@ -367,7 +367,7 class ProjectsControllerTest < Test::Unit::TestCase | |||
|
367 | 367 | end |
|
368 | 368 | |
|
369 | 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 | 371 | end |
|
372 | 372 | |
|
373 | 373 | def test_global_activity |
@@ -407,7 +407,7 class ProjectsControllerTest < Test::Unit::TestCase | |||
|
407 | 407 | end |
|
408 | 408 | |
|
409 | 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 | 411 | end |
|
412 | 412 | |
|
413 | 413 | def test_activity_atom_feed |
General Comments 0
You need to be logged in to leave comments.
Login now