diff --git a/crates/ghostlight/src/controllers.rs b/crates/ghostlight/src/controllers.rs index f9b6618..52f6541 100644 --- a/crates/ghostlight/src/controllers.rs +++ b/crates/ghostlight/src/controllers.rs @@ -15411,12 +15411,9 @@ mod tests { panic!("a coarse cell did not run the grouped lane") }; assert_eq!(run.submissions.len(), 1); - assert!( - run.needs - .iter() - .any(|need| need.detail.contains("scope changed")), - "{:?}", - run.needs + assert_eq!( + run.refused.iter().map(|entry| (entry.subject, entry.reason)).collect::>(), + vec![(second, ConstituentRefusalReason::ScopeChanged)] ); let after = digest_of(&mailbox.snapshot().await.unwrap(), second)