spec/lib/flapjack/gateways/jsonapi/contact_methods_spec.rb in flapjack-0.8.8 vs spec/lib/flapjack/gateways/jsonapi/contact_methods_spec.rb in flapjack-0.8.9
- old
+ new
@@ -42,9 +42,10 @@
}
let(:notification_rule_data) {
{"contact_id" => "21",
"tags" => ["database","physical"],
+ "regex_tags" => ["^data.*$","^(physical|bare_metal)$"],
"entities" => ["foo-app-01.example.com"],
"time_restrictions" => nil,
"unknown_media" => ["jabber"],
"warning_media" => ["email"],
"critical_media" => ["sms", "email"],