diff options
author | Andrey Kumanyaev <me@zzet.org> | 2013-05-05 18:01:10 +0400 |
---|---|---|
committer | Andrey Kumanyaev <me@zzet.org> | 2013-05-05 18:01:10 +0400 |
commit | 67ccc8b52aceebea9c0cb22b3277daf0b467c78e (patch) | |
tree | 6139a7674fe0f9d70a0af51c383fd72aa91cc54c /spec/routing/admin_routing_spec.rb | |
parent | 493b5ff011d5788f669adabf978a40b49b8cf6a3 (diff) |
Replace old hashes with new 1.9 ruby hashes (rebase)
Diffstat (limited to 'spec/routing/admin_routing_spec.rb')
-rw-r--r-- | spec/routing/admin_routing_spec.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/spec/routing/admin_routing_spec.rb b/spec/routing/admin_routing_spec.rb index b6509fcb8b2..c14fff5109b 100644 --- a/spec/routing/admin_routing_spec.rb +++ b/spec/routing/admin_routing_spec.rb @@ -56,15 +56,15 @@ describe Admin::UsersController, "routing" do end end -# team_admin_project GET /admin/projects/:id/team(.:format) admin/projects#team {:id=>/[^\/]+/} -# team_update_admin_project PUT /admin/projects/:id/team_update(.:format) admin/projects#team_update {:id=>/[^\/]+/} -# admin_projects GET /admin/projects(.:format) admin/projects#index {:id=>/[^\/]+/} -# POST /admin/projects(.:format) admin/projects#create {:id=>/[^\/]+/} -# new_admin_project GET /admin/projects/new(.:format) admin/projects#new {:id=>/[^\/]+/} -# edit_admin_project GET /admin/projects/:id/edit(.:format) admin/projects#edit {:id=>/[^\/]+/} -# admin_project GET /admin/projects/:id(.:format) admin/projects#show {:id=>/[^\/]+/} -# PUT /admin/projects/:id(.:format) admin/projects#update {:id=>/[^\/]+/} -# DELETE /admin/projects/:id(.:format) admin/projects#destroy {:id=>/[^\/]+/} +# team_admin_project GET /admin/projects/:id/team(.:format) admin/projects#team {id: /[^\/]+/} +# team_update_admin_project PUT /admin/projects/:id/team_update(.:format) admin/projects#team_update {id: /[^\/]+/} +# admin_projects GET /admin/projects(.:format) admin/projects#index {id: /[^\/]+/} +# POST /admin/projects(.:format) admin/projects#create {id: /[^\/]+/} +# new_admin_project GET /admin/projects/new(.:format) admin/projects#new {id: /[^\/]+/} +# edit_admin_project GET /admin/projects/:id/edit(.:format) admin/projects#edit {id: /[^\/]+/} +# admin_project GET /admin/projects/:id(.:format) admin/projects#show {id: /[^\/]+/} +# PUT /admin/projects/:id(.:format) admin/projects#update {id: /[^\/]+/} +# DELETE /admin/projects/:id(.:format) admin/projects#destroy {id: /[^\/]+/} describe Admin::ProjectsController, "routing" do it "to #index" do get("/admin/projects").should route_to('admin/projects#index') @@ -75,9 +75,9 @@ describe Admin::ProjectsController, "routing" do end end -# edit_admin_project_member GET /admin/projects/:project_id/members/:id/edit(.:format) admin/projects/members#edit {:id=>/[^\/]+/, :project_id=>/[^\/]+/} -# admin_project_member PUT /admin/projects/:project_id/members/:id(.:format) admin/projects/members#update {:id=>/[^\/]+/, :project_id=>/[^\/]+/} -# DELETE /admin/projects/:project_id/members/:id(.:format) admin/projects/members#destroy {:id=>/[^\/]+/, :project_id=>/[^\/]+/} +# edit_admin_project_member GET /admin/projects/:project_id/members/:id/edit(.:format) admin/projects/members#edit {id: /[^\/]+/, project_id: /[^\/]+/} +# admin_project_member PUT /admin/projects/:project_id/members/:id(.:format) admin/projects/members#update {id: /[^\/]+/, project_id: /[^\/]+/} +# DELETE /admin/projects/:project_id/members/:id(.:format) admin/projects/members#destroy {id: /[^\/]+/, project_id: /[^\/]+/} describe Admin::Projects::MembersController, "routing" do it "to #edit" do get("/admin/projects/test/members/1/edit").should route_to('admin/projects/members#edit', project_id: 'test', id: '1') |