aboutsummaryrefslogtreecommitdiff
path: root/spec/config_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/config_spec.lua')
-rw-r--r--spec/config_spec.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/config_spec.lua b/spec/config_spec.lua
index 9615f050..6bfac433 100644
--- a/spec/config_spec.lua
+++ b/spec/config_spec.lua
@@ -7,13 +7,11 @@ local write_file = test_env.write_file
7local get_tmp_path = test_env.get_tmp_path 7local get_tmp_path = test_env.get_tmp_path
8local hardcoded 8local hardcoded
9 9
10test_env.unload_luarocks()
11
12describe("LuaRocks config tests #integration", function() 10describe("LuaRocks config tests #integration", function()
13 11
14 setup(function() 12 lazy_setup(function()
15 test_env.setup_specs() 13 test_env.setup_specs()
16 test_env.unload_luarocks() -- need to be required here, because hardcoded is created after first loading of specs 14 -- needs to be required here, because hardcoded is created after first loading of specs
17 hardcoded = require("luarocks.core.hardcoded") 15 hardcoded = require("luarocks.core.hardcoded")
18 end) 16 end)
19 17