Mercurial > hg > soundsoftware-site
annotate extra/sample_plugin/test/integration/routing_test.rb @ 1517:dffacf8a6908 redmine-2.5
Update to Redmine SVN revision 13367 on 2.5-stable branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:29:00 +0100 |
parents | 261b3d9a4903 |
children |
rev | line source |
---|---|
Chris@1115 | 1 |
Chris@1115 | 2 require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper') |
Chris@1115 | 3 |
Chris@1464 | 4 class SamplePluginRoutingTest < ActionDispatch::IntegrationTest |
Chris@1115 | 5 def test_example |
Chris@1115 | 6 assert_routing( |
Chris@1115 | 7 { :method => 'get', :path => "/projects/1234/hello" }, |
Chris@1115 | 8 { :controller => 'example', :action => 'say_hello', |
Chris@1115 | 9 :id => '1234' } |
Chris@1115 | 10 ) |
Chris@1115 | 11 end |
Chris@1115 | 12 end |