Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save prathamesh-sonpatki/9d8d8c52e5b7445427bfab9104e4dc9c to your computer and use it in GitHub Desktop.
Save prathamesh-sonpatki/9d8d8c52e5b7445427bfab9104e4dc9c to your computer and use it in GitHub Desktop.
sources/rails/railties upgrade-guide-- ✔ 2.6.0 16m
▶ bin/test test/generators/
Run options: --seed 25553
# Running:
...................................F
Failure:
Rails::Command::RoutesTest#test_rails_routes_with_controller_search_key [/Users/prathamesh/Projects/sources/rails/railties/test/commands/routes_test.rb:92]:
--- expected
+++ actual
@@ -1,3 +1,6 @@
-"Prefix Verb URI Pattern Controller#Action
- cart GET /cart(.:format) cart#show
+"You don't have any routes defined!
+
+Please add some routes in config/routes.rb.
+
+For more information about routes, see the Rails guide: https://guides.rubyonrails.org/routing.html.
"
bin/test /Users/prathamesh/Projects/sources/rails/railties/test/commands/routes_test.rb:81
F
Failure:
Rails::Command::RoutesTest#test_rails_routes_displays_message_when_no_routes_are_defined [/Users/prathamesh/Projects/sources/rails/railties/test/commands/routes_test.rb:166]:
--- expected
+++ actual
@@ -1,21 +1,6 @@
-" Prefix Verb URI Pattern Controller#Action
- rails_mandrill_inbound_emails POST /rails/action_mailbox/mandrill/inbound_emails(.:format) action_mailbox/ingresses/mandrill/inbound_emails#create
- rails_postmark_inbound_emails POST /rails/action_mailbox/postmark/inbound_emails(.:format) action_mailbox/ingresses/postmark/inbound_emails#create
- rails_relay_inbound_emails POST /rails/action_mailbox/relay/inbound_emails(.:format) action_mailbox/ingresses/relay/inbound_emails#create
- rails_sendgrid_inbound_emails POST /rails/action_mailbox/sendgrid/inbound_emails(.:format) action_mailbox/ingresses/sendgrid/inbound_emails#create
- rails_mailgun_inbound_emails POST /rails/action_mailbox/mailgun/inbound_emails/mime(.:format) action_mailbox/ingresses/mailgun/inbound_emails#create
- rails_conductor_inbound_emails GET /rails/conductor/action_mailbox/inbound_emails(.:format) rails/conductor/action_mailbox/inbound_emails#index
- POST /rails/conductor/action_mailbox/inbound_emails(.:format) rails/conductor/action_mailbox/inbound_emails#create
- new_rails_conductor_inbound_email GET /rails/conductor/action_mailbox/inbound_emails/new(.:format) rails/conductor/action_mailbox/inbound_emails#new
- edit_rails_conductor_inbound_email GET /rails/conductor/action_mailbox/inbound_emails/:id/edit(.:format) rails/conductor/action_mailbox/inbound_emails#edit
- rails_conductor_inbound_email GET /rails/conductor/action_mailbox/inbound_emails/:id(.:format) rails/conductor/action_mailbox/inbound_emails#show
- PATCH /rails/conductor/action_mailbox/inbound_emails/:id(.:format) rails/conductor/action_mailbox/inbound_emails#update
- PUT /rails/conductor/action_mailbox/inbound_emails/:id(.:format) rails/conductor/action_mailbox/inbound_emails#update
- DELETE /rails/conductor/action_mailbox/inbound_emails/:id(.:format) rails/conductor/action_mailbox/inbound_emails#destroy
-rails_conductor_inbound_email_reroute POST /rails/conductor/action_mailbox/:inbound_email_id/reroute(.:format) rails/conductor/action_mailbox/reroutes#create
- rails_service_blob GET /rails/active_storage/blobs/:signed_id/*filename(.:format) active_storage/blobs#show
- rails_blob_representation GET /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations#show
- rails_disk_service GET /rails/active_storage/disk/:encoded_key/*filename(.:format) active_storage/disk#show
- update_rails_disk_service PUT /rails/active_storage/disk/:encoded_token(.:format) active_storage/disk#update
- rails_direct_uploads POST /rails/active_storage/direct_uploads(.:format) active_storage/direct_uploads#create
+"You don't have any routes defined!
+
+Please add some routes in config/routes.rb.
+
+For more information about routes, see the Rails guide: https://guides.rubyonrails.org/routing.html.
"
bin/test /Users/prathamesh/Projects/sources/rails/railties/test/commands/routes_test.rb:160
F
Failure:
Rails::Command::RoutesTest#test_rails_routes_with_expanded_option [/Users/prathamesh/Projects/sources/rails/railties/test/commands/routes_test.rb:201]:
--- expected
+++ actual
@@ -1,101 +1,6 @@
-"--[ Route 1 ]--------------
-Prefix | cart
-Verb | GET
-URI | /cart(.:format)
-Controller#Action | cart#show
---[ Route 2 ]--------------
-Prefix | rails_mandrill_inbound_emails
-Verb | POST
-URI | /rails/action_mailbox/mandrill/inbound_emails(.:format)
-Controller#Action | action_mailbox/ingresses/mandrill/inbound_emails#create
---[ Route 3 ]--------------
-Prefix | rails_postmark_inbound_emails
-Verb | POST
-URI | /rails/action_mailbox/postmark/inbound_emails(.:format)
-Controller#Action | action_mailbox/ingresses/postmark/inbound_emails#create
---[ Route 4 ]--------------
-Prefix | rails_relay_inbound_emails
-Verb | POST
-URI | /rails/action_mailbox/relay/inbound_emails(.:format)
-Controller#Action | action_mailbox/ingresses/relay/inbound_emails#create
---[ Route 5 ]--------------
-Prefix | rails_sendgrid_inbound_emails
-Verb | POST
-URI | /rails/action_mailbox/sendgrid/inbound_emails(.:format)
-Controller#Action | action_mailbox/ingresses/sendgrid/inbound_emails#create
---[ Route 6 ]--------------
-Prefix | rails_mailgun_inbound_emails
-Verb | POST
-URI | /rails/action_mailbox/mailgun/inbound_emails/mime(.:format)
-Controller#Action | action_mailbox/ingresses/mailgun/inbound_emails#create
---[ Route 7 ]--------------
-Prefix | rails_conductor_inbound_emails
-Verb | GET
-URI | /rails/conductor/action_mailbox/inbound_emails(.:format)
-Controller#Action | rails/conductor/action_mailbox/inbound_emails#index
---[ Route 8 ]--------------
-Prefix |
-Verb | POST
-URI | /rails/conductor/action_mailbox/inbound_emails(.:format)
-Controller#Action | rails/conductor/action_mailbox/inbound_emails#create
---[ Route 9 ]--------------
-Prefix | new_rails_conductor_inbound_email
-Verb | GET
-URI | /rails/conductor/action_mailbox/inbound_emails/new(.:format)
-Controller#Action | rails/conductor/action_mailbox/inbound_emails#new
---[ Route 10 ]-------------
-Prefix | edit_rails_conductor_inbound_email
-Verb | GET
-URI | /rails/conductor/action_mailbox/inbound_emails/:id/edit(.:format)
-Controller#Action | rails/conductor/action_mailbox/inbound_emails#edit
---[ Route 11 ]-------------
-Prefix | rails_conductor_inbound_email
-Verb | GET
-URI | /rails/conductor/action_mailbox/inbound_emails/:id(.:format)
-Controller#Action | rails/conductor/action_mailbox/inbound_emails#show
---[ Route 12 ]-------------
-Prefix |
-Verb | PATCH
-URI | /rails/conductor/action_mailbox/inbound_emails/:id(.:format)
-Controller#Action | rails/conductor/action_mailbox/inbound_emails#update
---[ Route 13 ]-------------
-Prefix |
-Verb | PUT
-URI | /rails/conductor/action_mailbox/inbound_emails/:id(.:format)
-Controller#Action | rails/conductor/action_mailbox/inbound_emails#update
---[ Route 14 ]-------------
-Prefix |
-Verb | DELETE
-URI | /rails/conductor/action_mailbox/inbound_emails/:id(.:format)
-Controller#Action | rails/conductor/action_mailbox/inbound_emails#destroy
---[ Route 15 ]-------------
-Prefix | rails_conductor_inbound_email_reroute
-Verb | POST
-URI | /rails/conductor/action_mailbox/:inbound_email_id/reroute(.:format)
-Controller#Action | rails/conductor/action_mailbox/reroutes#create
---[ Route 16 ]-------------
-Prefix | rails_service_blob
-Verb | GET
-URI | /rails/active_storage/blobs/:signed_id/*filename(.:format)
-Controller#Action | active_storage/blobs#show
---[ Route 17 ]-------------
-Prefix | rails_blob_representation
-Verb | GET
-URI | /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format)
-Controller#Action | active_storage/representations#show
---[ Route 18 ]-------------
-Prefix | rails_disk_service
-Verb | GET
-URI | /rails/active_storage/disk/:encoded_key/*filename(.:format)
-Controller#Action | active_storage/disk#show
---[ Route 19 ]-------------
-Prefix | update_rails_disk_service
-Verb | PUT
-URI | /rails/active_storage/disk/:encoded_token(.:format)
-Controller#Action | active_storage/disk#update
---[ Route 20 ]-------------
-Prefix | rails_direct_uploads
-Verb | POST
-URI | /rails/active_storage/direct_uploads(.:format)
-Controller#Action | active_storage/direct_uploads#create
+"You don't have any routes defined!
+
+Please add some routes in config/routes.rb.
+
+For more information about routes, see the Rails guide: https://guides.rubyonrails.org/routing.html.
"
bin/test /Users/prathamesh/Projects/sources/rails/railties/test/commands/routes_test.rb:190
F
Failure:
Rails::Command::RoutesTest#test_rails_routes_with_global_search_key [/Users/prathamesh/Projects/sources/rails/railties/test/commands/routes_test.rb:53]:
--- expected
+++ actual
@@ -1,7 +1,6 @@
-" Prefix Verb URI Pattern Controller#Action
- cart GET /cart(.:format) cart#show
-rails_conductor_inbound_email GET /rails/conductor/action_mailbox/inbound_emails/:id(.:format) rails/conductor/action_mailbox/inbound_emails#show
- rails_service_blob GET /rails/active_storage/blobs/:signed_id/*filename(.:format) active_storage/blobs#show
- rails_blob_representation GET /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations#show
- rails_disk_service GET /rails/active_storage/disk/:encoded_key/*filename(.:format) active_storage/disk#show
+"You don't have any routes defined!
+
+Please add some routes in config/routes.rb.
+
+For more information about routes, see the Rails guide: https://guides.rubyonrails.org/routing.html.
"
bin/test /Users/prathamesh/Projects/sources/rails/railties/test/commands/routes_test.rb:44
F
Failure:
Rails::Command::RoutesTest#test_rails_routes_with_namespaced_controller_search_key [/Users/prathamesh/Projects/sources/rails/railties/test/commands/routes_test.rb:122]:
--- expected
+++ actual
@@ -1,9 +1,6 @@
-" Prefix Verb URI Pattern Controller#Action
- new_admin_post GET /admin/post/new(.:format) admin/posts#new
-edit_admin_post GET /admin/post/edit(.:format) admin/posts#edit
- admin_post GET /admin/post(.:format) admin/posts#show
- PATCH /admin/post(.:format) admin/posts#update
- PUT /admin/post(.:format) admin/posts#update
- DELETE /admin/post(.:format) admin/posts#destroy
- POST /admin/post(.:format) admin/posts#create
+"You don't have any routes defined!
+
+Please add some routes in config/routes.rb.
+
+For more information about routes, see the Rails guide: https://guides.rubyonrails.org/routing.html.
"
bin/test /Users/prathamesh/Projects/sources/rails/railties/test/commands/routes_test.rb:112
F
Failure:
Rails::Command::RoutesTest#test_singular_resource_output_in_rails_routes [/Users/prathamesh/Projects/sources/rails/railties/test/commands/routes_test.rb:20]:
--- expected
+++ actual
@@ -1,10 +1,6 @@
-" Prefix Verb URI Pattern Controller#Action
- new_post GET /post/new(.:format) posts#new
- edit_post GET /post/edit(.:format) posts#edit
- post GET /post(.:format) posts#show
- PATCH /post(.:format) posts#update
- PUT /post(.:format) posts#update
- DELETE /post(.:format) posts#destroy
- POST /post(.:format) posts#create
-rails_postmark_inbound_emails POST /rails/action_mailbox/postmark/inbound_emails(.:format) action_mailbox/ingresses/postmark/inbound_emails#create
+"You don't have any routes defined!
+
+Please add some routes in config/routes.rb.
+
+For more information about routes, see the Rails guide: https://guides.rubyonrails.org/routing.html.
"
bin/test /Users/prathamesh/Projects/sources/rails/railties/test/commands/routes_test.rb:12
.......F
Failure:
GeneratorGeneratorTest#test_generator_skeleton_is_created [/Users/prathamesh/Projects/sources/rails/railties/test/generators/generator_generator_test.rb:21]:
Expected file "test/lib/generators/awesome_generator_test.rb" to exist, but does not
bin/test /Users/prathamesh/Projects/sources/rails/railties/test/generators/generator_generator_test.rb:10
F
Failure:
GeneratorGeneratorTest#test_namespaced_generator_skeleton_without_file_name_namespace [/Users/prathamesh/Projects/sources/rails/railties/test/generators/generator_generator_test.rb:69]:
Expected file "test/lib/generators/rails/awesome_generator_test.rb" to exist, but does not
bin/test /Users/prathamesh/Projects/sources/rails/railties/test/generators/generator_generator_test.rb:58
F
Failure:
GeneratorGeneratorTest#test_generator_skeleton_is_created_without_file_name_namespace [/Users/prathamesh/Projects/sources/rails/railties/test/generators/generator_generator_test.rb:53]:
Expected file "test/lib/generators/awesome_generator_test.rb" to exist, but does not
bin/test /Users/prathamesh/Projects/sources/rails/railties/test/generators/generator_generator_test.rb:42
F
Failure:
GeneratorGeneratorTest#test_namespaced_generator_skeleton [/Users/prathamesh/Projects/sources/rails/railties/test/generators/generator_generator_test.rb:37]:
Expected file "test/lib/generators/rails/awesome_generator_test.rb" to exist, but does not
bin/test /Users/prathamesh/Projects/sources/rails/railties/test/generators/generator_generator_test.rb:26
.F
Failure:
ScaffoldGeneratorTest#test_scaffold_with_namespace_on_revoke [/Users/prathamesh/Projects/sources/rails/railties/test/generators/scaffold_generator_test.rb:309]:
Expected file "app/models/admin.rb" to exist, but does not
bin/test /Users/prathamesh/Projects/sources/rails/railties/test/generators/scaffold_generator_test.rb:304
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment