Skip to content

Fix Decidim::DummyResources autoload path#12123

Merged
andreslucena merged 1 commit intodevelopfrom
fix/decidim_dummy_resource_autoload
Dec 5, 2023
Merged

Fix Decidim::DummyResources autoload path#12123
andreslucena merged 1 commit intodevelopfrom
fix/decidim_dummy_resource_autoload

Conversation

@alecslupu
Copy link
Copy Markdown
Contributor

@alecslupu alecslupu commented Dec 4, 2023

🎩 What? Why?

While working on decidim/metadecidim#120, @andreslucena observed that Decidim::DummyResources::DummyResource is not being recognized.

image

📌 Related Issues

Link your PR to an issue

Testing

The easiest way to test this PR is to apply the changes directly to the installed gem
Then run the test suite.

📷 Screenshots

Please add screenshots of the changes you are proposing

♥️ Thank you!

@alecslupu alecslupu added the type: fix PRs that implement a fix for a bug label Dec 4, 2023
@alecslupu alecslupu requested a review from a team December 4, 2023 18:42
github-actions[bot]
github-actions bot previously approved these changes Dec 4, 2023
github-actions[bot]
github-actions bot previously approved these changes Dec 4, 2023
@alecslupu alecslupu marked this pull request as draft December 4, 2023 20:38
@alecslupu alecslupu force-pushed the fix/decidim_dummy_resource_autoload branch from 395ded7 to 6a1c895 Compare December 4, 2023 20:56
github-actions[bot]
github-actions bot previously approved these changes Dec 4, 2023
github-actions[bot]
github-actions bot previously approved these changes Dec 4, 2023
github-actions[bot]
github-actions bot previously approved these changes Dec 4, 2023
github-actions[bot]
github-actions bot previously approved these changes Dec 4, 2023
github-actions[bot]
github-actions bot previously approved these changes Dec 5, 2023
@alecslupu alecslupu marked this pull request as ready for review December 5, 2023 10:29
Copy link
Copy Markdown
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not pretty, but to be honest I can't come up with a better way. I understand that this is happening because we have some missing directive on decidim-dev or something like that 🤷🏽.

About the solution, I tried it out in decidim/metadecidim#120 and it works great, so I'm merging it.

Thanks for the fix!

@andreslucena
Copy link
Copy Markdown
Member

Also, I had this meme ready for the first version of the "Testing" section of the PR body:

"Exiting VIM" book from O RLY?

@andreslucena
Copy link
Copy Markdown
Member

Only failing spec is from codecov, so I'm merging this

@andreslucena andreslucena merged commit 96cb514 into develop Dec 5, 2023
@andreslucena andreslucena deleted the fix/decidim_dummy_resource_autoload branch December 5, 2023 10:47
@alecslupu alecslupu added the no-backport Pull Requests that should not be backported label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-backport Pull Requests that should not be backported type: fix PRs that implement a fix for a bug

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants