-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
Admin controller test coverage has expanded since this issue was filed but gaps remain.
What's already covered
- Topics —
admin/topics_controller_test.rb,admin/topics_review_test.rb,admin/topics_controller_description_test.rb - Committees —
admin/committees_controller_test.rb(9 tests: CRUD, alias create/destroy) - Members —
admin/members_controller_test.rb(6 tests: index, show, alias CRUD, merge, merge-into-self rejection)
Controllers still needing tests
Admin::KnowledgeSourcesController
- CRUD operations (create, read, update, delete)
- File upload handling
reingestaction (re-processes knowledge source)
Admin::SummariesController
- Show action (view summaries for a meeting)
regenerate_all— Regenerates all summaries for a meetingregenerate_one— Regenerates a single summary
Admin::JobsController
- Show action (job queue dashboard)
retry_failed— Retry a single failed jobretry_all_failed— Retry all failed jobsdiscard_failed— Discard a failed jobclear_completed— Clear completed job records
Admin::TopicBlocklistsController
- CRUD operations for blocklist entries
Approach
- Follow patterns from existing
admin/committees_controller_test.rb - Use fixtures for test data
- Verify authentication is enforced on all actions
- Test both success and error paths
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels