2012-10-13 20:22:04 +04:00
|
|
|
|
|
|
|
require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper')
|
|
|
|
|
2013-01-22 22:28:58 +04:00
|
|
|
class SamplePluginRoutingTest < ActionDispatch::IntegrationTest
|
2012-10-13 20:22:04 +04:00
|
|
|
def test_example
|
|
|
|
assert_routing(
|
|
|
|
{ :method => 'get', :path => "/projects/1234/hello" },
|
|
|
|
{ :controller => 'example', :action => 'say_hello',
|
|
|
|
:id => '1234' }
|
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|