refactor: remove workflow machinery
This commit is contained in:
@@ -425,7 +425,6 @@ mod tests {
|
||||
&root.join(".yoi/memory/_logs/ignored.md"),
|
||||
"not frontmatter",
|
||||
);
|
||||
write(&root.join(".yoi/workflow/ignored.md"), "not frontmatter");
|
||||
|
||||
let report = lint_workspace(root).unwrap();
|
||||
assert_eq!(
|
||||
|
||||
@@ -1196,9 +1196,8 @@ mod tests {
|
||||
assert!(config.contains("# language = \"Japanese\""));
|
||||
for role in TicketRole::ALL {
|
||||
assert!(config.contains(&format!(
|
||||
"[ticket.roles.{role}]\nprofile = \"{}\"\nworkflow = \"{}\"",
|
||||
role.default_profile(),
|
||||
role.default_workflow()
|
||||
"[ticket.roles.{role}]\nprofile = \"{}\"",
|
||||
role.default_profile()
|
||||
)));
|
||||
}
|
||||
assert!(!config.contains("[ticket.roles.investigator]"));
|
||||
|
||||
Reference in New Issue
Block a user