web using penguin-ui
This commit is contained in:
@@ -183,7 +183,7 @@ mod tests {
|
||||
state.error = Some("That column already exists.".to_string());
|
||||
let html = render_builder(&state);
|
||||
assert!(html.contains(r#"role="dialog""#));
|
||||
assert!(html.contains("x-data=\"{ modalIsOpen: true }\""));
|
||||
assert!(html.contains("x-data=\"{ dangerModalIsOpen: true }\""));
|
||||
assert_eq!(html.matches("That column already exists.").count(), 2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user