aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-07-06 13:44:05 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-07-10 17:12:30 +0200
commitcd5d24ef08c067f6a609060d31bd35edb6a57949 (patch)
tree7cf29d1398d50f3762d31f6ffd43e5fd6b9c9e47
parent509763c410020d769edb7ecca839f8acc9ecb70f (diff)
Change function testCustom to describe
testCustom isn't explicit and could confuse people "describe" is more the usage with test framework Change-Id: I270048640226e4be1355ed8b4e201ad81198d004 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--conf.d/controller/lua.d/aft.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d/controller/lua.d/aft.lua b/conf.d/controller/lua.d/aft.lua
index 5032929..9fb06d8 100644
--- a/conf.d/controller/lua.d/aft.lua
+++ b/conf.d/controller/lua.d/aft.lua
@@ -240,7 +240,7 @@ function _AFT.testVerbError(testName, api, verb, args, cb)
end})
end
-function _AFT.testCustom(testName, testFunction)
+function _AFT.describe(testName, testFunction)
table.insert(_AFT.tests_list, {testName, function()
testFunction()
end})