aboutsummaryrefslogtreecommitdiff
path: root/spec/which_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/which_spec.lua')
-rw-r--r--spec/which_spec.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/which_spec.lua b/spec/which_spec.lua
index 9ccb1040..5712511b 100644
--- a/spec/which_spec.lua
+++ b/spec/which_spec.lua
@@ -2,17 +2,14 @@ local test_env = require("spec.util.test_env")
2local run = test_env.run 2local run = test_env.run
3local P = test_env.P 3local P = test_env.P
4 4
5test_env.unload_luarocks()
6
7local extra_rocks = { 5local extra_rocks = {
8 "/say-1.2-1.src.rock", 6 "/say-1.2-1.src.rock",
9} 7}
10 8
11describe("luarocks which #integration", function() 9describe("luarocks which #integration", function()
12 10
13 setup(function() 11 lazy_setup(function()
14 test_env.setup_specs(extra_rocks) 12 test_env.setup_specs(extra_rocks)
15 test_env.unload_luarocks() -- need to be required here, because hardcoded is created after first loading of specs
16 end) 13 end)
17 14
18 it("fails on missing arguments", function() 15 it("fails on missing arguments", function()