summaryrefslogtreecommitdiff
path: root/spec/make_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/make_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/make_spec.lua')
-rw-r--r--spec/make_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/make_spec.lua b/spec/make_spec.lua
index 5ae23fd5..2821c143 100644
--- a/spec/make_spec.lua
+++ b/spec/make_spec.lua
@@ -1,5 +1,7 @@
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
4local testing_paths = test_env.testing_paths
3 5
4test_env.unload_luarocks() 6test_env.unload_luarocks()
5 7
@@ -15,8 +17,6 @@ describe("LuaRocks make tests #blackbox #b_make", function()
15 17
16 before_each(function() 18 before_each(function()
17 test_env.setup_specs(extra_rocks) 19 test_env.setup_specs(extra_rocks)
18 run = test_env.run
19 testing_paths = test_env.testing_paths
20 end) 20 end)
21 21
22 it("LuaRocks make with no flags/arguments", function() 22 it("LuaRocks make with no flags/arguments", function()