aboutsummaryrefslogtreecommitdiff
path: root/spec/doc_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/doc_spec.lua')
-rw-r--r--spec/doc_spec.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/spec/doc_spec.lua b/spec/doc_spec.lua
index 476b8ea8..9dbeaab8 100644
--- a/spec/doc_spec.lua
+++ b/spec/doc_spec.lua
@@ -1,19 +1,16 @@
1local test_env = require("test/test_environment") 1local test_env = require("test/test_environment")
2local lfs = require("lfs") 2local run = test_env.run
3 3
4test_env.unload_luarocks() 4test_env.unload_luarocks()
5local doc = require("luarocks.doc")
6 5
7local extra_rocks = { 6local extra_rocks = {
8 "/luarepl-0.4-1.src.rock" 7 "/luarepl-0.4-1.src.rock"
9} 8}
10 9
11expose("LuaRocks doc tests #blackbox #b_doc", function() 10describe("LuaRocks doc tests #blackbox #b_doc", function()
12 11
13 before_each(function() 12 before_each(function()
14 test_env.setup_specs(extra_rocks) 13 test_env.setup_specs(extra_rocks)
15 testing_paths = test_env.testing_paths
16 run = test_env.run
17 end) 14 end)
18 15
19 describe("LuaRocks doc basic tests", function() 16 describe("LuaRocks doc basic tests", function()