Fix: creator_ids is an array, not a single value
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user