File: routing_test.rb

package info (click to toggle)
redmine 6.0.6%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 20,100 kB
  • sloc: ruby: 116,319; javascript: 12,885; sh: 460; perl: 303; python: 166; makefile: 30
file content (11 lines) | stat: -rw-r--r-- 319 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
require_relative '../../../../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