spec/util_pubsub_spec.lua
changeset 10577 3b8431eed785
parent 10576 d960c703e6b3
child 11725 7a77f0c05382
equal deleted inserted replaced
10576:d960c703e6b3 10577:3b8431eed785
   483 
   483 
   484 	end);
   484 	end);
   485 
   485 
   486 	describe("subscriber filter", function ()
   486 	describe("subscriber filter", function ()
   487 		it("works", function ()
   487 		it("works", function ()
   488 			local filter = spy.new(function (subs)
   488 			local filter = spy.new(function (subs) -- luacheck: ignore 212/subs
   489 				return {["modified"] = true};
   489 				return {["modified"] = true};
   490 			end);
   490 			end);
   491 			local broadcaster = spy.new(function (notif_type, node_name, subscribers, item) -- luacheck: ignore 212
   491 			local broadcaster = spy.new(function (notif_type, node_name, subscribers, item) -- luacheck: ignore 212
   492 			end);
   492 			end);
   493 			local service = pubsub.new({
   493 			local service = pubsub.new({