Mercurial > hg > soundsoftware-site
comparison extra/sample_plugin/test/integration/routing_test.rb @ 1464:261b3d9a4903 redmine-2.4
Update to Redmine 2.4 branch rev 12663
author | Chris Cannam |
---|---|
date | Tue, 14 Jan 2014 14:37:42 +0000 |
parents | 433d4f72a19b |
children |
comparison
equal
deleted
inserted
replaced
1296:038ba2d95de8 | 1464:261b3d9a4903 |
---|---|
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' } |