Mercurial > hg > soundsoftware-site
diff extra/sample_plugin/test/integration/routing_test.rb @ 1115:433d4f72a19b redmine-2.2
Update to Redmine SVN revision 11137 on 2.2-stable branch
author | Chris Cannam |
---|---|
date | Mon, 07 Jan 2013 12:01:42 +0000 |
parents | |
children | 622f24f53b42 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/extra/sample_plugin/test/integration/routing_test.rb Mon Jan 07 12:01:42 2013 +0000 @@ -0,0 +1,12 @@ + +require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper') + +class SamplePluginRoutingTest < ActionController::IntegrationTest + def test_example + assert_routing( + { :method => 'get', :path => "/projects/1234/hello" }, + { :controller => 'example', :action => 'say_hello', + :id => '1234' } + ) + end +end