Skip to content

Add coverage for Learning hour topics and types#6841

Open
stefannibrasil wants to merge 1 commit intorubyforgood:mainfrom
hexdevs:sb-add-learning-hours-coverage-6840
Open

Add coverage for Learning hour topics and types#6841
stefannibrasil wants to merge 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.

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

1 participant