summaryrefslogtreecommitdiffstats
path: root/extra/sample_plugin/test/integration/routing_test.rb
blob: 50ad4603f5104ce41a52ec0f1d092147dd370129 (plain)
1
2
3
4
5
6
7
8
9
10
11
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