diff --git a/crates/osdl-core/tests/integration.rs b/crates/osdl-core/tests/integration.rs index 9cc6281..13f2d1a 100644 --- a/crates/osdl-core/tests/integration.rs +++ b/crates/osdl-core/tests/integration.rs @@ -142,6 +142,7 @@ async fn test_simulation_world_uses_the_device_contract() { .expect("simulation device registered"); assert_eq!(device.adapter, "simulation"); assert_eq!(device.role.as_deref(), Some("heater")); + assert!(device.actions.iter().any(|action| action.name == "reset")); let result = handle .send_command(osdl_core::protocol::DeviceCommand {