summaryrefslogtreecommitdiffstats
path: root/test/functional/projects_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-02-28 09:21:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-02-28 09:21:49 +0000
commita95a8aa40b7a1ae8f7d20e067cf34714681aa9f1 (patch)
tree0c644d2b6404d73457dcd958c9fcad050b0d6bc6 /test/functional/projects_controller_test.rb
parente63ccffd59c3f46898e52484e5b018fe73bee1f7 (diff)
downloadredmine-a95a8aa40b7a1ae8f7d20e067cf34714681aa9f1.tar.gz
redmine-a95a8aa40b7a1ae8f7d20e067cf34714681aa9f1.zip
Fixes tests broken by r2532 (#2853).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2535 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/projects_controller_test.rb')
-rw-r--r--test/functional/projects_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb
index c8dafe275..1aded6429 100644
--- a/test/functional/projects_controller_test.rb
+++ b/test/functional/projects_controller_test.rb
@@ -367,7 +367,7 @@ class ProjectsControllerTest < Test::Unit::TestCase
end
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
def test_global_activity
@@ -407,7 +407,7 @@ class ProjectsControllerTest < Test::Unit::TestCase
end
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
def test_activity_atom_feed