aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-03-28 14:00:21 +0200
committerKim Alvefur <zash@zash.se>2021-03-28 14:00:21 +0200
commit8d24fc3852e1f517c52e9690f047fdf92d4da066 (patch)
treea6a1b54487e170f40cc035328a265746ec2106e5 /spec
parent1be4a5c2970e46671e1beeef502b702778c5562a (diff)
downloadprosody-8d24fc3852e1f517c52e9690f047fdf92d4da066.tar.gz
prosody-8d24fc3852e1f517c52e9690f047fdf92d4da066.zip
util.datamapper: Fix spelling in tests
Diffstat (limited to 'spec')
-rw-r--r--spec/util_datamapper_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/util_datamapper_spec.lua b/spec/util_datamapper_spec.lua
index 8c66224d..039475f5 100644
--- a/spec/util_datamapper_spec.lua
+++ b/spec/util_datamapper_spec.lua
@@ -75,7 +75,7 @@ describe("util.datampper", function()
x = xml.parse [[
<message xmlns="jabber:client" xml:lang="en" to="a@test" from="b@test" type="chat" id="1">
<body>Hello</body>
- <delay xmlns='urn:xmpp:delay' from='test' stamp='2021-03-07T15:59:08+00:00'>Becasue</delay>
+ <delay xmlns='urn:xmpp:delay' from='test' stamp='2021-03-07T15:59:08+00:00'>Because</delay>
<UNRELATED xmlns='http://jabber.org/protocol/chatstates'/>
<active xmlns='http://jabber.org/protocol/chatstates'/>
<fallback xmlns='urn:xmpp:fallback:0'/>
@@ -96,7 +96,7 @@ describe("util.datampper", function()
id = "1";
lang = "en";
body = "Hello";
- delay = {from = "test"; stamp = "2021-03-07T15:59:08+00:00"; reason = "Becasue"};
+ delay = {from = "test"; stamp = "2021-03-07T15:59:08+00:00"; reason = "Because"};
state = "active";
fallback = true;
origin_id = "qgkmMdPB";