When rendering components which inherit from another component there is an issue rendering the expected template. Reproduces a component inheritance bug in view_component 2.51.0.
In development mode:
- Go to the homepage
- On first load you should see "Base component template"
- On reloading the page you should see "Inherited component template"
In test mode (assuming where cache_classes is true?):
- ./bin rails -e test
- Go to the homepage
- You should see "Base component template" rather than the expected "Inherited component template"