summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-08-18 15:01:35 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-08-18 15:01:35 +0000
commit1f8d396e3f12ec177fec0dea6a4a7c39c00fe496 (patch)
tree1ddd1116f61d95f4b18a5c6088fb35eb6e5e6dd0 /test/integration
parent3eff27344b0bef7703ba248d0a2312bfca95c182 (diff)
downloadredmine-1f8d396e3f12ec177fec0dea6a4a7c39c00fe496.tar.gz
redmine-1f8d396e3f12ec177fec0dea6a4a7c39c00fe496.zip
Refactor: move IssuesController#preview to a new controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3946 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/routing_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb
index 607df5b06..01a96b7aa 100644
--- a/test/integration/routing_test.rb
+++ b/test/integration/routing_test.rb
@@ -101,6 +101,9 @@ class RoutingTest < ActionController::IntegrationTest
should_route :post, "/projects/project-name/issues/gantt", :controller => 'gantts', :action => 'show', :project_id => 'project-name'
should_route :get, "/issues/auto_complete", :controller => 'auto_completes', :action => 'issues'
+
+ should_route :get, "/issues/preview/123", :controller => 'previews', :action => 'issue', :id => '123'
+ should_route :post, "/issues/preview/123", :controller => 'previews', :action => 'issue', :id => '123'
end
context "issue categories" do