aboutsummaryrefslogtreecommitdiff
path: root/spec/help_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/help_spec.lua')
-rw-r--r--spec/help_spec.lua10
1 files changed, 4 insertions, 6 deletions
diff --git a/spec/help_spec.lua b/spec/help_spec.lua
index 0f40dd38..0d41e2e9 100644
--- a/spec/help_spec.lua
+++ b/spec/help_spec.lua
@@ -1,14 +1,12 @@
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 help = require("luarocks.help")
6 5
7expose("LuaRocks help tests #blackbox #b_help", function() 6describe("LuaRocks help tests #blackbox #b_help", function()
8 7
9 before_each(function() 8 before_each(function()
10 test_env.setup_specs(extra_rocks) 9 test_env.setup_specs()
11 run = test_env.run
12 end) 10 end)
13 11
14 it("LuaRocks help with no flags/arguments", function() 12 it("LuaRocks help with no flags/arguments", function()
@@ -26,4 +24,4 @@ expose("LuaRocks help tests #blackbox #b_help", function()
26 it("LuaRocks-admin help with no flags/arguments", function() 24 it("LuaRocks-admin help with no flags/arguments", function()
27 assert.is_true(run.luarocks_admin_bool("help")) 25 assert.is_true(run.luarocks_admin_bool("help"))
28 end) 26 end)
29end) \ No newline at end of file 27end)