@@ -118,7 +118,7 @@ defmodule NotifierTest do
118118 defmodule PlugErrorWithExponentialTriggerNotifier do
119119 use BoomNotifier ,
120120 notifier: FakeNotifier ,
121- notification_trigger : :exponential ,
121+ count : :exponential ,
122122 options: [
123123 subject: "BOOM error caught" ,
124124 sender_pid_name: TestMessageProxy
@@ -132,7 +132,7 @@ defmodule NotifierTest do
132132 defmodule PlugErrorWithExponentialTriggerWithLimitNotifier do
133133 use BoomNotifier ,
134134 notifier: FakeNotifier ,
135- notification_trigger : [ exponential: [ limit: 3 ] ] ,
135+ count : [ exponential: [ limit: 3 ] ] ,
136136 options: [
137137 subject: "BOOM error caught" ,
138138 sender_pid_name: TestMessageProxy
@@ -229,7 +229,7 @@ defmodule NotifierTest do
229229 assert_receive ( % { exception: % { subject: "BOOM error caught: thrown error" } } , @ receive_timeout )
230230 end
231231
232- test "reports exception in groups when :notification_trigger setting is :exponential" do
232+ test "reports exception in groups when :count setting is :exponential" do
233233 conn = conn ( :get , "/" )
234234
235235 catch_error ( PlugErrorWithExponentialTriggerNotifier . call ( conn , [ ] ) )
@@ -243,7 +243,7 @@ defmodule NotifierTest do
243243 assert exceptions == 0
244244 end
245245
246- test "reports exception in groups when :notification_trigger setting is :exponential with limit" do
246+ test "reports exception in groups when :count setting is :exponential with limit" do
247247 conn = conn ( :get , "/" )
248248
249249 catch_error ( PlugErrorWithExponentialTriggerWithLimitNotifier . call ( conn , [ ] ) )
@@ -267,7 +267,7 @@ defmodule NotifierTest do
267267 assert exceptions == 0
268268 end
269269
270- test "reports every exception when :notification_trigger setting is not set" do
270+ test "reports every exception when :count setting is not set" do
271271 conn = conn ( :get , "/" )
272272
273273 catch_error ( PlugErrorWithSingleNotifier . call ( conn , [ ] ) )
0 commit comments