Mercurial > hg > soundsoftware-site
comparison extra/sample_plugin/test/integration/routing_test.rb @ 1295:622f24f53b42 redmine-2.3
Update to Redmine SVN revision 11972 on 2.3-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:02:21 +0100 |
parents | 433d4f72a19b |
children |
comparison
equal
deleted
inserted
replaced
1294:3e4c3460b6ca | 1295:622f24f53b42 |
---|---|
1 | 1 |
2 require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper') | 2 require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper') |
3 | 3 |
4 class SamplePluginRoutingTest < ActionController::IntegrationTest | 4 class SamplePluginRoutingTest < ActionDispatch::IntegrationTest |
5 def test_example | 5 def test_example |
6 assert_routing( | 6 assert_routing( |
7 { :method => 'get', :path => "/projects/1234/hello" }, | 7 { :method => 'get', :path => "/projects/1234/hello" }, |
8 { :controller => 'example', :action => 'say_hello', | 8 { :controller => 'example', :action => 'say_hello', |
9 :id => '1234' } | 9 :id => '1234' } |