add routing test to sample plugin
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10656 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9581afe060
commit
ff2d374a14
|
@ -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
|
Loading…
Reference in New Issue