view extra/sample_plugin/test/integration/routing_test.rb @ 1598:073a75bf07fb dockerise

Pull out directory creation to its own script, fix ownership
author Chris Cannam
date Wed, 23 Aug 2017 11:32:17 +0100
parents 261b3d9a4903
children
line wrap: on
line source

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