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 -2
View File
@@ -40,7 +40,7 @@ class Command::Parser::Context
def find_workflow_stage(string)
candidate_stages.find do |stage|
stage.name.downcase.include?(combined_arguments.downcase)
stage.name.downcase.include?(string.downcase)
end
end
@@ -54,7 +54,7 @@ class Command::Parser::Context
end
def find_collection(string)
Collection.where("lower(name) like ?", "%#{name.downcase}%").first
Collection.where("lower(name) like ?", "%#{string.downcase}%").first
end
private