moadim 3.2.7

Loop engine for AI agents — routines over REST, MCP, and a built-in web UI
#![allow(
    clippy::missing_docs_in_private_items,
    reason = "test helpers and fixtures do not need doc comments"
)]

use super::build;

#[test]
fn build_returns_not_found_for_unknown_id() {
    let store = crate::routines::new_store();
    let result = build(&store, "no-such", false);
    assert!(result.is_err());
}

#[test]
fn build_with_override_returns_not_found_for_unknown_id() {
    let store = crate::routines::new_store();
    let result = build(&store, "no-such", true);
    assert!(result.is_err());
}