Skip to content

Commit 2762407

Browse files
committed
Delete orphan autoloading fixtures
Rails now delegates autoloading to Zeitwerk, and therefore does not need to test autoloading itself. Zeitwerk has test coverage, in Rails we only need to test the integration. We are gradually trimming AS::Dependencies, and the AS test suite. With the removal of DependenciesTestHelpers and client code in af27a25, these fixtures became orphan. Three of them are left. They are to be autoloaded with Module#autoload because they raise errors when the file is evaluated. Their current use cases are already committed.
1 parent c0a5e8d commit 2762407

32 files changed

+0
-163
lines changed

activesupport/test/autoloading_fixtures/a/b.rb

Lines changed: 0 additions & 4 deletions
This file was deleted.

activesupport/test/autoloading_fixtures/a/c/d.rb

Lines changed: 0 additions & 4 deletions
This file was deleted.

activesupport/test/autoloading_fixtures/a/c/em/f.rb

Lines changed: 0 additions & 4 deletions
This file was deleted.

activesupport/test/autoloading_fixtures/application.rb

Lines changed: 0 additions & 3 deletions
This file was deleted.

activesupport/test/autoloading_fixtures/circular1.rb

Lines changed: 0 additions & 8 deletions
This file was deleted.

activesupport/test/autoloading_fixtures/circular2.rb

Lines changed: 0 additions & 6 deletions
This file was deleted.

activesupport/test/autoloading_fixtures/class_folder.rb

Lines changed: 0 additions & 5 deletions
This file was deleted.

activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb

Lines changed: 0 additions & 5 deletions
This file was deleted.

activesupport/test/autoloading_fixtures/class_folder/inline_class.rb

Lines changed: 0 additions & 4 deletions
This file was deleted.

activesupport/test/autoloading_fixtures/class_folder/nested_class.rb

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)