diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-10-13 16:22:04 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-10-13 16:22:04 +0000 |
commit | ff2d374a14434c465fcd66e9b2d44dc9ceeb70aa (patch) | |
tree | ac13b010744fde4606cfd054641d5cdc63a07edf /extra/sample_plugin | |
parent | 9581afe06052bbe73fef88804b11a4ef332aab96 (diff) | |
download | redmine-ff2d374a14434c465fcd66e9b2d44dc9ceeb70aa.tar.gz redmine-ff2d374a14434c465fcd66e9b2d44dc9ceeb70aa.zip |
add routing test to sample plugin
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10656 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra/sample_plugin')
-rw-r--r-- | extra/sample_plugin/test/integration/routing_test.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/sample_plugin/test/integration/routing_test.rb b/extra/sample_plugin/test/integration/routing_test.rb new file mode 100644 index 000000000..3ddfe5189 --- /dev/null +++ b/extra/sample_plugin/test/integration/routing_test.rb @@ -0,0 +1,12 @@ + +require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper') + +class SamplePluginRoutingTest < ActionController::IntegrationTest + def test_example + assert_routing( + { :method => 'get', :path => "/projects/1234/hello" }, + { :controller => 'example', :action => 'say_hello', + :id => '1234' } + ) + end +end |