diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-07 12:51:27 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-07 12:51:27 +0100 |
commit | b483b3e440ed665a83b6b6ac8b89e00ec2980507 (patch) | |
tree | d1b3e98fe2dbed7092ffc240cd9a0d814a698c03 | |
parent | f6f89ede90e15b12c12a70fe2265895f46a8aa5d (diff) | |
download | prosody-b483b3e440ed665a83b6b6ac8b89e00ec2980507.tar.gz prosody-b483b3e440ed665a83b6b6ac8b89e00ec2980507.zip |
util_pubsub_spec: Move util.pubsub import into a setup block
-rw-r--r-- | spec/util_pubsub_spec.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/util_pubsub_spec.lua b/spec/util_pubsub_spec.lua index 82aa7396..fac4d675 100644 --- a/spec/util_pubsub_spec.lua +++ b/spec/util_pubsub_spec.lua @@ -1,4 +1,8 @@ -local pubsub = require "util.pubsub"; +local pubsub; +setup(function () + pubsub = require "util.pubsub"; +end); + describe("util.pubsub", function () describe("simple node creation and deletion", function () -- Roughly a port of scansion/scripts/pubsub_createdelete.scs |