13 lines
357 B
Ruby
13 lines
357 B
Ruby
|
|
||
|
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
|