aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/tc_mauve_notification.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/tc_mauve_notification.rb b/test/tc_mauve_notification.rb
index ea041f8..448c3ca 100644
--- a/test/tc_mauve_notification.rb
+++ b/test/tc_mauve_notification.rb
@@ -426,7 +426,13 @@ EOF
alert.raise!
assert_equal(1, Alert.count, "Wrong number of alerts saved")
-
+
+ #
+ # Make sure the alert group gets cached
+ #
+ alert.reload
+ assert_equal("default", alert.cached_alert_group)
+
#
# Also make sure that only 2 notifications has been sent..
#