A `done` task satisfying the given criteria.
(id: &str, satisfies: &[&str])
| 816 | |
| 817 | /// A `done` task satisfying the given criteria. |
| 818 | fn done_task(id: &str, satisfies: &[&str]) -> Task { |
| 819 | let mut t = task(id, satisfies); |
| 820 | t.task_status = "done".to_string(); |
| 821 | t |
| 822 | } |
| 823 | |
| 824 | #[test] |
| 825 | fn gate_accepts_done_intent_with_many_tasks_and_criteria_all_complete() { |