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