3 # search GET /search(.:format) search#show
4 describe SearchController, "routing" do
6 get("/search").should route_to('search#show')
10 # gitlab_api /api API::API
11 # resque /info/resque Resque::Server
13 describe "Mounted Apps", "routing" do
15 get("/api").should be_routable
20 get("/info/resque").should be_routable
24 get("/gitlabhq.git").should be_routable
28 # help GET /help(.:format) help#index
29 # help_permissions GET /help/permissions(.:format) help#permissions
30 # help_workflow GET /help/workflow(.:format) help#workflow
31 # help_api GET /help/api(.:format) help#api
32 # help_web_hooks GET /help/web_hooks(.:format) help#web_hooks
33 # help_system_hooks GET /help/system_hooks(.:format) help#system_hooks
34 # help_markdown GET /help/markdown(.:format) help#markdown
35 # help_ssh GET /help/ssh(.:format) help#ssh
36 # help_raketasks GET /help/raketasks(.:format) help#raketasks
37 describe HelpController, "routing" do
39 get("/help").should route_to('help#index')
42 it "to #permissions" do
43 get("/help/permissions").should route_to('help#permissions')
47 get("/help/workflow").should route_to('help#workflow')
51 get("/help/api").should route_to('help#api')
55 get("/help/web_hooks").should route_to('help#web_hooks')
58 it "to #system_hooks" do
59 get("/help/system_hooks").should route_to('help#system_hooks')
63 get("/help/markdown").should route_to('help#markdown')
67 get("/help/ssh").should route_to('help#ssh')
71 get("/help/raketasks").should route_to('help#raketasks')
75 # errors_githost GET /errors/githost(.:format) errors#githost
76 describe ErrorsController, "routing" do
78 get("/errors/githost").should route_to('errors#githost')
82 # profile_account GET /profile/account(.:format) profile#account
83 # profile_history GET /profile/history(.:format) profile#history
84 # profile_password PUT /profile/password(.:format) profile#password_update
85 # profile_token GET /profile/token(.:format) profile#token
86 # profile_reset_private_token PUT /profile/reset_private_token(.:format) profile#reset_private_token
87 # profile GET /profile(.:format) profile#show
88 # profile_design GET /profile/design(.:format) profile#design
89 # profile_update PUT /profile/update(.:format) profile#update
90 describe ProfilesController, "routing" do
92 get("/profile/account").should route_to('profiles#account')
96 get("/profile/history").should route_to('profiles#history')
99 it "to #reset_private_token" do
100 put("/profile/reset_private_token").should route_to('profiles#reset_private_token')
104 get("/profile").should route_to('profiles#show')
108 get("/profile/design").should route_to('profiles#design')
112 # keys GET /keys(.:format) keys#index
113 # POST /keys(.:format) keys#create
114 # new_key GET /keys/new(.:format) keys#new
115 # edit_key GET /keys/:id/edit(.:format) keys#edit
116 # key GET /keys/:id(.:format) keys#show
117 # PUT /keys/:id(.:format) keys#update
118 # DELETE /keys/:id(.:format) keys#destroy
119 describe KeysController, "routing" do
121 get("/keys").should route_to('keys#index')
125 post("/keys").should route_to('keys#create')
129 get("/keys/new").should route_to('keys#new')
133 get("/keys/1/edit").should route_to('keys#edit', id: '1')
137 get("/keys/1").should route_to('keys#show', id: '1')
141 put("/keys/1").should route_to('keys#update', id: '1')
145 delete("/keys/1").should route_to('keys#destroy', id: '1')
149 # dashboard GET /dashboard(.:format) dashboard#show
150 # dashboard_issues GET /dashboard/issues(.:format) dashboard#issues
151 # dashboard_merge_requests GET /dashboard/merge_requests(.:format) dashboard#merge_requests
152 # root / dashboard#show
153 describe DashboardController, "routing" do
155 get("/dashboard").should route_to('dashboard#show')
156 get("/").should route_to('dashboard#show')
160 get("/dashboard/issues").should route_to('dashboard#issues')
163 it "to #merge_requests" do
164 get("/dashboard/merge_requests").should route_to('dashboard#merge_requests')
168 # new_user_session GET /users/sign_in(.:format) devise/sessions#new
169 # user_session POST /users/sign_in(.:format) devise/sessions#create
170 # destroy_user_session DELETE /users/sign_out(.:format) devise/sessions#destroy
171 # user_omniauth_authorize /users/auth/:provider(.:format) omniauth_callbacks#passthru
172 # user_omniauth_callback /users/auth/:action/callback(.:format) omniauth_callbacks#(?-mix:(?!))
173 # user_password POST /users/password(.:format) devise/passwords#create
174 # new_user_password GET /users/password/new(.:format) devise/passwords#new
175 # edit_user_password GET /users/password/edit(.:format) devise/passwords#edit
176 # PUT /users/password(.:format) devise/passwords#update
177 describe "Authentication", "routing" do