Comparison

spec/util_stanza_spec.lua @ 9302:57f8e41255fb

util.stanza tests: Fix test name (copy/paste error?)
author Matthew Wild <mwild1@gmail.com>
date Thu, 13 Sep 2018 15:37:42 +0100
parent 9217:7df29c5fbb9b
child 9307:feaef6215bb8
comparison
equal deleted inserted replaced
9301:2f9687c09e6e 9302:57f8e41255fb
88 local i = st.iq(); 88 local i = st.iq();
89 assert.are.equal(i.name, "iq"); 89 assert.are.equal(i.name, "iq");
90 end); 90 end);
91 end); 91 end);
92 92
93 describe("#iq()", function() 93 describe("#presence()", function ()
94 it("should work", function() 94 it("should work", function()
95 local p = st.presence(); 95 local p = st.presence();
96 assert.are.equal(p.name, "presence"); 96 assert.are.equal(p.name, "presence");
97 end); 97 end);
98 end); 98 end);