aboutsummaryrefslogtreecommitdiff
path: root/spec/pack_spec.lua
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2016-07-08 14:30:00 +0300
committerPeter Melnichenko <mpeterval@gmail.com>2016-07-08 14:43:19 +0300
commit8867f3324d97584ed24f3a1082144e9b1375d663 (patch)
tree6d2ac6859128b94e02c7e9fb247cc505ab62d6c4 /spec/pack_spec.lua
parent20a1baba59e7555b3140e0c2226948447fe8e62a (diff)
downloadluarocks-8867f3324d97584ed24f3a1082144e9b1375d663.tar.gz
luarocks-8867f3324d97584ed24f3a1082144e9b1375d663.tar.bz2
luarocks-8867f3324d97584ed24f3a1082144e9b1375d663.zip
Make env vars, paths and run commands available on test env load
Diffstat (limited to 'spec/pack_spec.lua')
-rw-r--r--spec/pack_spec.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/pack_spec.lua b/spec/pack_spec.lua
index 1671152c..416184a8 100644
--- a/spec/pack_spec.lua
+++ b/spec/pack_spec.lua
@@ -1,5 +1,6 @@
1local test_env = require("test/test_environment") 1local test_env = require("test/test_environment")
2local lfs = require("lfs") 2local lfs = require("lfs")
3local run = test_env.run
3 4
4test_env.unload_luarocks() 5test_env.unload_luarocks()
5 6
@@ -13,8 +14,6 @@ describe("LuaRocks pack tests #blackbox #b_pack", function()
13 14
14 before_each(function() 15 before_each(function()
15 test_env.setup_specs(extra_rocks) 16 test_env.setup_specs(extra_rocks)
16 testing_paths = test_env.testing_paths
17 run = test_env.run
18 end) 17 end)
19 18
20 it("LuaRocks pack basic", function() 19 it("LuaRocks pack basic", function()