moadim 1.7.2

Loop engine for AI agents — routines over REST, MCP, and a built-in web UI
1
2
3
4
5
6
7
8
9
10
11
12
13
#![allow(
    clippy::missing_docs_in_private_items,
    reason = "test helpers and fixtures do not need doc comments"
)]

use super::build;

#[test]
fn build_rejects_unknown_scope() {
    let store = crate::routines::new_store();
    let result = build(&store, "no-such-scope");
    assert!(matches!(result, Err(crate::error::AppError::BadRequest(_))));
}