Skip to content

Add coverage for Learning hour topics and types#6841

Merged
compwron merged 1 commit intorubyforgood:mainfrom
hexdevs:sb-add-learning-hours-coverage-6840
Apr 14, 2026
Merged

Add coverage for Learning hour topics and types#6841
compwron merged 1 commit intorubyforgood:mainfrom
hexdevs:sb-add-learning-hours-coverage-6840

Conversation

@stefannibrasil
Copy link
Copy Markdown
Contributor

What github issue is this PR for, if any?

Closes #6840

What changed, and why?

learning_hour_topics_controller.rb and learning_hour_types_controller.rb do not have any coverage. Let's add coverage to
them so we catch any errors in the future.

Closes rubyforgood#6840

`learning_hour_topics_controller.rb` and `learning_hour_types_controller.rb`
do not have any coverage. Let's add coverage to
them so we catch any errors in the future.
@github-actions github-actions bot added ruby Pull requests that update Ruby code Tests! 🎉💖👏 labels Apr 9, 2026

def learning_hour_topic_params
params.require(:learning_hour_topic).permit(:name, :active).merge(
params.require(:learning_hour_topic).permit(:name).merge(
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

active is not a column for learning hour topics.

@compwron compwron merged commit 22826ce into rubyforgood:main Apr 14, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ruby Pull requests that update Ruby code Tests! 🎉💖👏

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add coverage for Learning hour topics and types

2 participants