@@ -242,127 +242,153 @@ class Rails::Command::RoutesTest < ActiveSupport::TestCase
242
242
run_routes_command ( [ "--expanded" ] )
243
243
end
244
244
245
+ rails_gem_root = File . expand_path ( "../../../../" , __FILE__ )
246
+
245
247
assert_equal <<~MESSAGE , output
246
248
--[ Route 1 ]--------------
247
249
Prefix | cart
248
250
Verb | GET
249
251
URI | /cart(.:format)
250
252
Controller#Action | cart#show
253
+ Source Location | #{ app_path } /config/routes.rb:2
251
254
--[ Route 2 ]--------------
252
255
Prefix | rails_postmark_inbound_emails
253
256
Verb | POST
254
257
URI | /rails/action_mailbox/postmark/inbound_emails(.:format)
255
258
Controller#Action | action_mailbox/ingresses/postmark/inbound_emails#create
259
+ Source Location | #{ rails_gem_root } /actionmailbox/config/routes.rb:5
256
260
--[ Route 3 ]--------------
257
261
Prefix | rails_relay_inbound_emails
258
262
Verb | POST
259
263
URI | /rails/action_mailbox/relay/inbound_emails(.:format)
260
264
Controller#Action | action_mailbox/ingresses/relay/inbound_emails#create
265
+ Source Location | #{ rails_gem_root } /actionmailbox/config/routes.rb:6
261
266
--[ Route 4 ]--------------
262
267
Prefix | rails_sendgrid_inbound_emails
263
268
Verb | POST
264
269
URI | /rails/action_mailbox/sendgrid/inbound_emails(.:format)
265
270
Controller#Action | action_mailbox/ingresses/sendgrid/inbound_emails#create
271
+ Source Location | #{ rails_gem_root } /actionmailbox/config/routes.rb:7
266
272
--[ Route 5 ]--------------
267
273
Prefix | rails_mandrill_inbound_health_check
268
274
Verb | GET
269
275
URI | /rails/action_mailbox/mandrill/inbound_emails(.:format)
270
276
Controller#Action | action_mailbox/ingresses/mandrill/inbound_emails#health_check
277
+ Source Location | #{ rails_gem_root } /actionmailbox/config/routes.rb:10
271
278
--[ Route 6 ]--------------
272
279
Prefix | rails_mandrill_inbound_emails
273
280
Verb | POST
274
281
URI | /rails/action_mailbox/mandrill/inbound_emails(.:format)
275
282
Controller#Action | action_mailbox/ingresses/mandrill/inbound_emails#create
283
+ Source Location | #{ rails_gem_root } /actionmailbox/config/routes.rb:11
276
284
--[ Route 7 ]--------------
277
285
Prefix | rails_mailgun_inbound_emails
278
286
Verb | POST
279
287
URI | /rails/action_mailbox/mailgun/inbound_emails/mime(.:format)
280
288
Controller#Action | action_mailbox/ingresses/mailgun/inbound_emails#create
289
+ Source Location | #{ rails_gem_root } /actionmailbox/config/routes.rb:14
281
290
--[ Route 8 ]--------------
282
291
Prefix | rails_conductor_inbound_emails
283
292
Verb | GET
284
293
URI | /rails/conductor/action_mailbox/inbound_emails(.:format)
285
294
Controller#Action | rails/conductor/action_mailbox/inbound_emails#index
295
+ Source Location | #{ rails_gem_root } /actionmailbox/config/routes.rb:19
286
296
--[ Route 9 ]--------------
287
297
Prefix |#{ " " }
288
298
Verb | POST
289
299
URI | /rails/conductor/action_mailbox/inbound_emails(.:format)
290
300
Controller#Action | rails/conductor/action_mailbox/inbound_emails#create
301
+ Source Location | #{ rails_gem_root } /actionmailbox/config/routes.rb:19
291
302
--[ Route 10 ]-------------
292
303
Prefix | new_rails_conductor_inbound_email
293
304
Verb | GET
294
305
URI | /rails/conductor/action_mailbox/inbound_emails/new(.:format)
295
306
Controller#Action | rails/conductor/action_mailbox/inbound_emails#new
307
+ Source Location | #{ rails_gem_root } /actionmailbox/config/routes.rb:19
296
308
--[ Route 11 ]-------------
297
309
Prefix | rails_conductor_inbound_email
298
310
Verb | GET
299
311
URI | /rails/conductor/action_mailbox/inbound_emails/:id(.:format)
300
312
Controller#Action | rails/conductor/action_mailbox/inbound_emails#show
313
+ Source Location | #{ rails_gem_root } /actionmailbox/config/routes.rb:19
301
314
--[ Route 12 ]-------------
302
315
Prefix | new_rails_conductor_inbound_email_source
303
316
Verb | GET
304
317
URI | /rails/conductor/action_mailbox/inbound_emails/sources/new(.:format)
305
318
Controller#Action | rails/conductor/action_mailbox/inbound_emails/sources#new
319
+ Source Location | #{ rails_gem_root } /actionmailbox/config/routes.rb:20
306
320
--[ Route 13 ]-------------
307
321
Prefix | rails_conductor_inbound_email_sources
308
322
Verb | POST
309
323
URI | /rails/conductor/action_mailbox/inbound_emails/sources(.:format)
310
324
Controller#Action | rails/conductor/action_mailbox/inbound_emails/sources#create
325
+ Source Location | #{ rails_gem_root } /actionmailbox/config/routes.rb:21
311
326
--[ Route 14 ]-------------
312
327
Prefix | rails_conductor_inbound_email_reroute
313
328
Verb | POST
314
329
URI | /rails/conductor/action_mailbox/:inbound_email_id/reroute(.:format)
315
330
Controller#Action | rails/conductor/action_mailbox/reroutes#create
331
+ Source Location | #{ rails_gem_root } /actionmailbox/config/routes.rb:23
316
332
--[ Route 15 ]-------------
317
333
Prefix | rails_conductor_inbound_email_incinerate
318
334
Verb | POST
319
335
URI | /rails/conductor/action_mailbox/:inbound_email_id/incinerate(.:format)
320
336
Controller#Action | rails/conductor/action_mailbox/incinerates#create
337
+ Source Location | #{ rails_gem_root } /actionmailbox/config/routes.rb:24
321
338
--[ Route 16 ]-------------
322
339
Prefix | rails_service_blob
323
340
Verb | GET
324
341
URI | /rails/active_storage/blobs/redirect/:signed_id/*filename(.:format)
325
342
Controller#Action | active_storage/blobs/redirect#show
343
+ Source Location | #{ rails_gem_root } /activestorage/config/routes.rb:5
326
344
--[ Route 17 ]-------------
327
345
Prefix | rails_service_blob_proxy
328
346
Verb | GET
329
347
URI | /rails/active_storage/blobs/proxy/:signed_id/*filename(.:format)
330
348
Controller#Action | active_storage/blobs/proxy#show
349
+ Source Location | #{ rails_gem_root } /activestorage/config/routes.rb:6
331
350
--[ Route 18 ]-------------
332
351
Prefix |#{ " " }
333
352
Verb | GET
334
353
URI | /rails/active_storage/blobs/:signed_id/*filename(.:format)
335
354
Controller#Action | active_storage/blobs/redirect#show
355
+ Source Location | #{ rails_gem_root } /activestorage/config/routes.rb:7
336
356
--[ Route 19 ]-------------
337
357
Prefix | rails_blob_representation
338
358
Verb | GET
339
359
URI | /rails/active_storage/representations/redirect/:signed_blob_id/:variation_key/*filename(.:format)
340
360
Controller#Action | active_storage/representations/redirect#show
361
+ Source Location | #{ rails_gem_root } /activestorage/config/routes.rb:9
341
362
--[ Route 20 ]-------------
342
363
Prefix | rails_blob_representation_proxy
343
364
Verb | GET
344
365
URI | /rails/active_storage/representations/proxy/:signed_blob_id/:variation_key/*filename(.:format)
345
366
Controller#Action | active_storage/representations/proxy#show
367
+ Source Location | #{ rails_gem_root } /activestorage/config/routes.rb:10
346
368
--[ Route 21 ]-------------
347
369
Prefix |#{ " " }
348
370
Verb | GET
349
371
URI | /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format)
350
372
Controller#Action | active_storage/representations/redirect#show
373
+ Source Location | #{ rails_gem_root } /activestorage/config/routes.rb:11
351
374
--[ Route 22 ]-------------
352
375
Prefix | rails_disk_service
353
376
Verb | GET
354
377
URI | /rails/active_storage/disk/:encoded_key/*filename(.:format)
355
378
Controller#Action | active_storage/disk#show
379
+ Source Location | #{ rails_gem_root } /activestorage/config/routes.rb:13
356
380
--[ Route 23 ]-------------
357
381
Prefix | update_rails_disk_service
358
382
Verb | PUT
359
383
URI | /rails/active_storage/disk/:encoded_token(.:format)
360
384
Controller#Action | active_storage/disk#update
385
+ Source Location | #{ rails_gem_root } /activestorage/config/routes.rb:14
361
386
--[ Route 24 ]-------------
362
387
Prefix | rails_direct_uploads
363
388
Verb | POST
364
389
URI | /rails/active_storage/direct_uploads(.:format)
365
390
Controller#Action | active_storage/direct_uploads#create
391
+ Source Location | #{ rails_gem_root } /activestorage/config/routes.rb:15
366
392
MESSAGE
367
393
end
368
394
0 commit comments