You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

routing_test.rb 356B

1234567891011
  1. require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper')
  2. class SamplePluginRoutingTest < ActionDispatch::IntegrationTest
  3. def test_example
  4. assert_routing(
  5. { :method => 'get', :path => "/projects/1234/hello" },
  6. { :controller => 'example', :action => 'say_hello',
  7. :id => '1234' }
  8. )
  9. end
  10. end