Always downcase names

This commit is contained in:
Jorge Manrubia
2025-06-27 13:55:10 +02:00
parent d06a38f883
commit 7da4696952
24 changed files with 21135 additions and 4 deletions
@@ -121,9 +121,11 @@ 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: { closure: "thisweek", indexed_by: "closed" } }, "cards completed this week")
assert_command({ context: { creation: "thisweek", tag_ids: [ "design" ], creator_ids: [ "jz" ] } }, "cards created this week by jz tagged as #design")
assert_command({ context: { creation: "thismonth", creator_ids: [ "Gabriel", "Michael" ] } }, "cards created by Gabriel or Michael this month")
end
test "closing soon and falling back soon" do