diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-20 17:45:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-20 17:45:09 +0000 |
commit | 599bc450730b91769f878d38b76110ce5c8fbca7 (patch) | |
tree | 1626b75596f1fd3a52cb54ce0e6008214cedb3e2 /test/integration/routing_test.rb | |
parent | 84dd413f22b9a3900ceaa33d63758f285908ecb1 (diff) | |
download | redmine-599bc450730b91769f878d38b76110ce5c8fbca7.tar.gz redmine-599bc450730b91769f878d38b76110ce5c8fbca7.zip |
Adds support for requesting information about current user using /users/current (#7141).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4544 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/routing_test.rb')
-rw-r--r-- | test/integration/routing_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb index 01462a74e..78512b04f 100644 --- a/test/integration/routing_test.rb +++ b/test/integration/routing_test.rb @@ -286,6 +286,7 @@ class RoutingTest < ActionController::IntegrationTest context "users" do should_route :get, "/users", :controller => 'users', :action => 'index' should_route :get, "/users/44", :controller => 'users', :action => 'show', :id => '44' + should_route :get, "/users/current", :controller => 'users', :action => 'show', :id => 'current' should_route :get, "/users/new", :controller => 'users', :action => 'new' should_route :get, "/users/444/edit", :controller => 'users', :action => 'edit', :id => '444' should_route :get, "/users/222/edit/membership", :controller => 'users', :action => 'edit', :id => '222', :tab => 'membership' |