Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
12
extra/sample_plugin/test/integration/routing_test.rb
Normal file
12
extra/sample_plugin/test/integration/routing_test.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
|
||||
require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper')
|
||||
|
||||
class SamplePluginRoutingTest < ActionDispatch::IntegrationTest
|
||||
def test_example
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/projects/1234/hello" },
|
||||
{ :controller => 'example', :action => 'say_hello',
|
||||
:id => '1234' }
|
||||
)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue