Mercurial > hg > soundsoftware-site
comparison extra/sample_plugin/test/integration/routing_test.rb @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | 622f24f53b42 |
children |
comparison
equal
deleted
inserted
replaced
1297:0a574315af3e | 1298:4f746d8966dd |
---|---|
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' } |