Merged rails-3.2 branch.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2012-04-25 17:17:49 +00:00
1 parent 34e20c4373
commit 5e57a1a9d9
457 files changed
+20215 -5352

No files matched your search

@@ -21,7 +21,7 @@ class RoutingRepositoriesTest < ActionController::IntegrationTest
def setup
@path_hash = repository_path_hash(%w[path to file.c])
assert_equal "path/to/file.c", @path_hash[:path]
assert_equal %w[path to file.c], @path_hash[:param]
assert_equal "path/to/file.c", @path_hash[:param]
end
def test_repositories_resources
@@ -124,7 +124,7 @@ class RoutingRepositoriesTest < ActionController::IntegrationTest
{ :method => 'get',
:path => "/projects/redmine/repository/revisions/2457/show" },
{ :controller => 'repositories', :action => 'show', :id => 'redmine',
:path => empty_path_param, :rev => '2457' }
:rev => '2457' }
)
assert_routing(
{ :method => 'get',
@@ -136,7 +136,7 @@ class RoutingRepositoriesTest < ActionController::IntegrationTest
{ :method => 'get',
:path => "/projects/redmine/repository/revisions/2457/changes" },
{ :controller => 'repositories', :action => 'changes', :id => 'redmine',
:path => empty_path_param, :rev => '2457' }
:rev => '2457' }
)
assert_routing(
{ :method => 'get',
@@ -205,7 +205,7 @@ class RoutingRepositoriesTest < ActionController::IntegrationTest
{ :method => 'get',
:path => "/projects/redmine/repository/foo/revisions/2457/show" },
{ :controller => 'repositories', :action => 'show', :id => 'redmine', :repository_id => 'foo',
:path => empty_path_param, :rev => '2457' }
:rev => '2457' }
)
assert_routing(
{ :method => 'get',
@@ -217,7 +217,7 @@ class RoutingRepositoriesTest < ActionController::IntegrationTest
{ :method => 'get',
:path => "/projects/redmine/repository/foo/revisions/2457/changes" },
{ :controller => 'repositories', :action => 'changes', :id => 'redmine', :repository_id => 'foo',
:path => empty_path_param, :rev => '2457' }
:rev => '2457' }
)
assert_routing(
{ :method => 'get',