aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/util_pubsub_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/util_pubsub_spec.lua b/spec/util_pubsub_spec.lua
index 11dfeb0b..3f463ef2 100644
--- a/spec/util_pubsub_spec.lua
+++ b/spec/util_pubsub_spec.lua
@@ -270,7 +270,7 @@ describe("util.pubsub", function ()
end);
it("should allow subscribers to publish without an affiliation", function ()
assert.is_true(service:add_subscription("test", "stranger", "stranger"));
- local ok = service:publish("test", "stranger", "item1", "foo");
+ local ok = service:publish("test", "stranger", "item1", "foo");
assert.is_true(ok);
end);
it("should allow publishers to publish without a subscription", function ()
@@ -320,7 +320,7 @@ describe("util.pubsub", function ()
local ok, items = service:get_items("test", true);
assert.is_true(ok);
assert.equal(0, #items);
- assert.is_nil(next(items));
+ assert.is_nil(next(items));
end);
it("returns no items on an empty node", function ()
local ok, items = service:get_items("test", true);