summaryrefslogtreecommitdiffstats
path: root/test/integration/routing/repositories_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-05-05 01:01:29 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-05-05 01:01:29 +0000
commitb0414ec1fbabfa8fa84e69eedcf7617fb969fd82 (patch)
tree9c3f633024197ef7756a40c584a25d6545944306 /test/integration/routing/repositories_test.rb
parent569e1b37cc0893cd8b1015a6d12212b205f0fbdf (diff)
downloadredmine-b0414ec1fbabfa8fa84e69eedcf7617fb969fd82.tar.gz
redmine-b0414ec1fbabfa8fa84e69eedcf7617fb969fd82.zip
route: scm: split entry and raw actions
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9625 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/routing/repositories_test.rb')
-rw-r--r--test/integration/routing/repositories_test.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/integration/routing/repositories_test.rb b/test/integration/routing/repositories_test.rb
index f02791b9f..17d391801 100644
--- a/test/integration/routing/repositories_test.rb
+++ b/test/integration/routing/repositories_test.rb
@@ -184,8 +184,8 @@ class RoutingRepositoriesTest < ActionController::IntegrationTest
assert_routing(
{ :method => 'get',
:path => "/projects/redmine/repository/revisions/2/raw/#{@path_hash[:path]}" },
- { :controller => 'repositories', :action => 'entry', :id => 'redmine',
- :path => @path_hash[:param], :rev => '2', :format => 'raw' }
+ { :controller => 'repositories', :action => 'raw', :id => 'redmine',
+ :path => @path_hash[:param], :rev => '2' }
)
assert_routing(
{ :method => 'get',
@@ -278,8 +278,8 @@ class RoutingRepositoriesTest < ActionController::IntegrationTest
assert_routing(
{ :method => 'get',
:path => "/projects/redmine/repository/foo/revisions/2/raw/#{@path_hash[:path]}" },
- { :controller => 'repositories', :action => 'entry', :id => 'redmine', :repository_id => 'foo',
- :path => @path_hash[:param], :rev => '2', :format => 'raw' }
+ { :controller => 'repositories', :action => 'raw', :id => 'redmine', :repository_id => 'foo',
+ :path => @path_hash[:param], :rev => '2' }
)
assert_routing(
{ :method => 'get',
@@ -311,8 +311,8 @@ class RoutingRepositoriesTest < ActionController::IntegrationTest
assert_routing(
{ :method => 'get',
:path => "/projects/redmine/repository/raw/#{@path_hash[:path]}" },
- { :controller => 'repositories', :action => 'entry', :id => 'redmine',
- :path => @path_hash[:param], :format => 'raw' }
+ { :controller => 'repositories', :action => 'raw', :id => 'redmine',
+ :path => @path_hash[:param] }
)
assert_routing(
{ :method => 'get',
@@ -355,8 +355,8 @@ class RoutingRepositoriesTest < ActionController::IntegrationTest
assert_routing(
{ :method => 'get',
:path => "/projects/redmine/repository/foo/raw/#{@path_hash[:path]}" },
- { :controller => 'repositories', :action => 'entry', :id => 'redmine', :repository_id => 'foo',
- :path => @path_hash[:param], :format => 'raw' }
+ { :controller => 'repositories', :action => 'raw', :id => 'redmine', :repository_id => 'foo',
+ :path => @path_hash[:param] }
)
assert_routing(
{ :method => 'get',