Mercurial > hg > soundsoftware-site
view extra/sample_plugin/test/integration/routing_test.rb @ 1559:21098b932cb8 feature_1136
Separate out git repo dir and work dir (so as to serve repo dir only)
author | Chris Cannam |
---|---|
date | Thu, 14 Jan 2016 10:27:25 +0000 |
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