aboutsummaryrefslogtreecommitdiff
path: root/spec/util_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/util_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/util_spec.lua')
-rw-r--r--spec/util_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/util_spec.lua b/spec/util_spec.lua
index 7e0289d6..39ce3c83 100644
--- a/spec/util_spec.lua
+++ b/spec/util_spec.lua
@@ -1,13 +1,13 @@
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
5local env_variables = test_env.env_variables
3 6
4describe("Basic tests #blackbox #b_util", function() 7describe("Basic tests #blackbox #b_util", function()
5 8
6 before_each(function() 9 before_each(function()
7 test_env.setup_specs(extra_rocks) 10 test_env.setup_specs(extra_rocks)
8 testing_paths = test_env.testing_paths
9 env_variables = test_env.env_variables
10 run = test_env.run
11 end) 11 end)
12 12
13 it("LuaRocks version", function() 13 it("LuaRocks version", function()