Skip to content

Commit e4b6c71

Browse files
Update Railties tests for 7e52d0a
1 parent 7e52d0a commit e4b6c71

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

railties/test/application/configuration_test.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2545,8 +2545,10 @@ class MyLogger < ::Logger
25452545
Prefix Verb URI Pattern Controller#Action
25462546
rails_service_blob GET /files/blobs/redirect/:signed_id/*filename(.:format) active_storage/blobs/redirect#show
25472547
rails_service_blob_proxy GET /files/blobs/proxy/:signed_id/*filename(.:format) active_storage/blobs/proxy#show
2548+
GET /files/blobs/:signed_id/*filename(.:format) active_storage/blobs/redirect#show
25482549
rails_blob_representation GET /files/representations/redirect/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations/redirect#show
25492550
rails_blob_representation_proxy GET /files/representations/proxy/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations/proxy#show
2551+
GET /files/representations/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations/redirect#show
25502552
rails_disk_service GET /files/disk/:encoded_key/*filename(.:format) active_storage/disk#show
25512553
update_rails_disk_service PUT /files/disk/:encoded_token(.:format) active_storage/disk#update
25522554
rails_direct_uploads POST /files/direct_uploads(.:format) active_storage/direct_uploads#create

railties/test/application/rake/routes_test.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ class RakeRoutesTest < ActiveSupport::TestCase
3939
rails_conductor_inbound_email_reroute POST /rails/conductor/action_mailbox/:inbound_email_id/reroute(.:format) rails/conductor/action_mailbox/reroutes#create
4040
rails_service_blob GET /rails/active_storage/blobs/redirect/:signed_id/*filename(.:format) active_storage/blobs/redirect#show
4141
rails_service_blob_proxy GET /rails/active_storage/blobs/proxy/:signed_id/*filename(.:format) active_storage/blobs/proxy#show
42+
GET /rails/active_storage/blobs/:signed_id/*filename(.:format) active_storage/blobs/redirect#show
4243
rails_blob_representation GET /rails/active_storage/representations/redirect/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations/redirect#show
4344
rails_blob_representation_proxy GET /rails/active_storage/representations/proxy/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations/proxy#show
45+
GET /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations/redirect#show
4446
rails_disk_service GET /rails/active_storage/disk/:encoded_key/*filename(.:format) active_storage/disk#show
4547
update_rails_disk_service PUT /rails/active_storage/disk/:encoded_token(.:format) active_storage/disk#update
4648
rails_direct_uploads POST /rails/active_storage/direct_uploads(.:format) active_storage/direct_uploads#create

railties/test/commands/routes_test.rb

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ class Rails::Command::RoutesTest < ActiveSupport::TestCase
5656
rails_conductor_inbound_email GET /rails/conductor/action_mailbox/inbound_emails/:id(.:format) rails/conductor/action_mailbox/inbound_emails#show
5757
rails_service_blob GET /rails/active_storage/blobs/redirect/:signed_id/*filename(.:format) active_storage/blobs/redirect#show
5858
rails_service_blob_proxy GET /rails/active_storage/blobs/proxy/:signed_id/*filename(.:format) active_storage/blobs/proxy#show
59+
GET /rails/active_storage/blobs/:signed_id/*filename(.:format) active_storage/blobs/redirect#show
5960
rails_blob_representation GET /rails/active_storage/representations/redirect/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations/redirect#show
6061
rails_blob_representation_proxy GET /rails/active_storage/representations/proxy/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations/proxy#show
62+
GET /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations/redirect#show
6163
rails_disk_service GET /rails/active_storage/disk/:encoded_key/*filename(.:format) active_storage/disk#show
6264
MESSAGE
6365

@@ -187,8 +189,10 @@ class Rails::Command::RoutesTest < ActiveSupport::TestCase
187189
rails_conductor_inbound_email_reroute POST /rails/conductor/action_mailbox/:inbound_email_id/reroute(.:format) rails/conductor/action_mailbox/reroutes#create
188190
rails_service_blob GET /rails/active_storage/blobs/redirect/:signed_id/*filename(.:format) active_storage/blobs/redirect#show
189191
rails_service_blob_proxy GET /rails/active_storage/blobs/proxy/:signed_id/*filename(.:format) active_storage/blobs/proxy#show
192+
GET /rails/active_storage/blobs/:signed_id/*filename(.:format) active_storage/blobs/redirect#show
190193
rails_blob_representation GET /rails/active_storage/representations/redirect/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations/redirect#show
191194
rails_blob_representation_proxy GET /rails/active_storage/representations/proxy/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations/proxy#show
195+
GET /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations/redirect#show
192196
rails_disk_service GET /rails/active_storage/disk/:encoded_key/*filename(.:format) active_storage/disk#show
193197
update_rails_disk_service PUT /rails/active_storage/disk/:encoded_token(.:format) active_storage/disk#update
194198
rails_direct_uploads POST /rails/active_storage/direct_uploads(.:format) active_storage/direct_uploads#create
@@ -309,26 +313,36 @@ class Rails::Command::RoutesTest < ActiveSupport::TestCase
309313
URI | /rails/active_storage/blobs/proxy/:signed_id/*filename(.:format)
310314
Controller#Action | active_storage/blobs/proxy#show
311315
--[ Route 21 ]-------------
316+
Prefix |
317+
Verb | GET
318+
URI | /rails/active_storage/blobs/:signed_id/*filename(.:format)
319+
Controller#Action | active_storage/blobs/redirect#show
320+
--[ Route 22 ]-------------
312321
Prefix | rails_blob_representation
313322
Verb | GET
314323
URI | /rails/active_storage/representations/redirect/:signed_blob_id/:variation_key/*filename(.:format)
315324
Controller#Action | active_storage/representations/redirect#show
316-
--[ Route 22 ]-------------
325+
--[ Route 23 ]-------------
317326
Prefix | rails_blob_representation_proxy
318327
Verb | GET
319328
URI | /rails/active_storage/representations/proxy/:signed_blob_id/:variation_key/*filename(.:format)
320329
Controller#Action | active_storage/representations/proxy#show
321-
--[ Route 23 ]-------------
330+
--[ Route 24 ]-------------
331+
Prefix |
332+
Verb | GET
333+
URI | /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format)
334+
Controller#Action | active_storage/representations/redirect#show
335+
--[ Route 25 ]-------------
322336
Prefix | rails_disk_service
323337
Verb | GET
324338
URI | /rails/active_storage/disk/:encoded_key/*filename(.:format)
325339
Controller#Action | active_storage/disk#show
326-
--[ Route 24 ]-------------
340+
--[ Route 26 ]-------------
327341
Prefix | update_rails_disk_service
328342
Verb | PUT
329343
URI | /rails/active_storage/disk/:encoded_token(.:format)
330344
Controller#Action | active_storage/disk#update
331-
--[ Route 25 ]-------------
345+
--[ Route 27 ]-------------
332346
Prefix | rails_direct_uploads
333347
Verb | POST
334348
URI | /rails/active_storage/direct_uploads(.:format)

0 commit comments

Comments
 (0)