Add more tests and fix failing ones

This commit is contained in:
Jorge Manrubia
2025-07-03 12:46:36 +02:00
parent 98e568482a
commit ca4628b457
34 changed files with 217406 additions and 13 deletions
+2 -3
View File
@@ -18,10 +18,9 @@ class Command::GoToCardTest < ActionDispatch::IntegrationTest
test "result in a regular search if the card does not exist" do
command = parse_command "123"
visit_command = command.commands.first
assert visit_command.valid?
assert command.valid?
result = visit_command.execute
result = command.execute
assert_equal cards_path(terms: [ "123" ]), result.url
end
end