From 7d2144386841eb5ae3102c785b086427c33ef167 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Thu, 15 May 2025 17:19:13 +0200 Subject: [PATCH] Remove unused --- test/models/command/chat_query_test.rb | 33 -------------------------- 1 file changed, 33 deletions(-) delete mode 100644 test/models/command/chat_query_test.rb diff --git a/test/models/command/chat_query_test.rb b/test/models/command/chat_query_test.rb deleted file mode 100644 index 40133a4f4..000000000 --- a/test/models/command/chat_query_test.rb +++ /dev/null @@ -1,33 +0,0 @@ -require "test_helper" - -class Command::ChatQueryTest < ActionDispatch::IntegrationTest - include CommandTestHelper - - setup do - Current.session = sessions(:david) - end - - test "sandbox list of cards" do - user = users(:david) - url = cards_url - context = Command::Parser::Context.new(user, url: url) - puts Command::ChatQuery.new(user: user, context: context, query: "summarize cards about performance").execute - puts Command::ChatQuery.new(user: user, context: context, query: "tag with #performance").execute - puts Command::ChatQuery.new(user: user, context: context, query: "cards assigned to jorge").execute - puts Command::ChatQuery.new(user: user, context: context, query: "performance cards assigned to jorge").execute - puts Command::ChatQuery.new(user: user, context: context, query: "close performance cards assigned to jorge and tag them with #performance").execute - end - - test "sandbox single card" do - user = users(:david) - url = card_url(cards(:logo)) - context = Command::Parser::Context.new(user, url: url) - puts Command::ChatQuery.new(user: user, context: context, query: "summarize cards about performance").execute - puts Command::ChatQuery.new(user: user, context: context, query: "tag with performance and close").execute - puts Command::ChatQuery.new(user: user, context: context, query: "summarize this card").execute - puts Command::ChatQuery.new(user: user, context: context, query: "tag with #performance").execute - puts Command::ChatQuery.new(user: user, context: context, query: "cards assigned to jorge").execute - puts Command::ChatQuery.new(user: user, context: context, query: "performance cards assigned to jorge").execute - puts Command::ChatQuery.new(user: user, context: context, query: "close performance cards assigned to jorge and tag them with #performance").execute - end -end