Create task task-87
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
---
|
||||
id: task-87
|
||||
title: 'Fix Domain::PostsController visual_results spec mock data'
|
||||
status: To Do
|
||||
assignee: []
|
||||
created_date: '2025-08-14'
|
||||
labels: []
|
||||
dependencies: []
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
The visual_results controller spec is failing because it mocks generate_fingerprints with incorrect return data. The method expects an array of GenerateFingerprintsResult objects but the test provides an empty ActiveRecord relation, causing the controller to render the error template instead of the success template.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] Test passes with correct template rendering
|
||||
- [ ] Mock data matches expected GenerateFingerprintsResult structure
|
||||
- [ ] No regression in other controller tests
|
||||
Reference in New Issue
Block a user