require 'spec_helper' require 'flapjack/data/notification_rule' describe Flapjack::Data::NotificationRule do it "checks that a notification rule exists" it "returns a notification rule if it exists" it "does not return a notification rule if it does not exist" it "updates a notification rule" it "checks whether tag or entity names match" it "checks whether times match" it "checks if blackhole settings for a rule match a severity level" it "returns the media settings for a rule's severity level" end