Fix: creator_ids is an array, not a single value

This commit is contained in:
Jorge Manrubia
2025-06-27 10:49:45 +02:00
parent 3fbfa1404c
commit 3391a20843
23 changed files with 41447 additions and 10 deletions
+1 -3
View File
@@ -121,11 +121,9 @@ class Command::Ai::TranslatorTest < ActionDispatch::IntegrationTest
assert_command({ commands: [ "/add_card urgent issue" ] }, "create card urgent issue")
end
vcr_record!
test "filter by time ranges" do
assert_command({context: {completion: "thisweek", indexed_by: "closed"}}, "cards completed this week")
assert_command({context: {creation: "thisweek", tag_ids: ["design"], creator_id: "jz"}}, "cards created this week by jz tagged as #design")
assert_command({context: {creation: "thisweek", tag_ids: ["design"], creator_ids: [ "jz" ]}}, "cards created this week by jz tagged as #design")
end
private