Remove unused

This commit is contained in:
Jorge Manrubia
2025-05-15 17:19:13 +02:00
parent 14eb7658d6
commit 7d21443868
-33
View File
@@ -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