diff options
author | Peter Melnichenko <mpeterval@gmail.com> | 2016-07-08 14:30:00 +0300 |
---|---|---|
committer | Peter Melnichenko <mpeterval@gmail.com> | 2016-07-08 14:43:19 +0300 |
commit | 8867f3324d97584ed24f3a1082144e9b1375d663 (patch) | |
tree | 6d2ac6859128b94e02c7e9fb247cc505ab62d6c4 /spec/build_spec.lua | |
parent | 20a1baba59e7555b3140e0c2226948447fe8e62a (diff) | |
download | luarocks-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/build_spec.lua')
-rw-r--r-- | spec/build_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/build_spec.lua b/spec/build_spec.lua index 7248e8f0..1ce99089 100644 --- a/spec/build_spec.lua +++ b/spec/build_spec.lua | |||
@@ -1,5 +1,7 @@ | |||
1 | local test_env = require("test/test_environment") | 1 | local test_env = require("test/test_environment") |
2 | local lfs = require("lfs") | 2 | local lfs = require("lfs") |
3 | local run = test_env.run | ||
4 | local testing_paths = test_env.testing_paths | ||
3 | 5 | ||
4 | test_env.unload_luarocks() | 6 | test_env.unload_luarocks() |
5 | 7 | ||
@@ -29,8 +31,6 @@ describe("LuaRocks build tests #blackbox #b_build", function() | |||
29 | 31 | ||
30 | before_each(function() | 32 | before_each(function() |
31 | test_env.setup_specs(extra_rocks) | 33 | test_env.setup_specs(extra_rocks) |
32 | testing_paths = test_env.testing_paths | ||
33 | run = test_env.run | ||
34 | end) | 34 | end) |
35 | 35 | ||
36 | describe("LuaRocks build - basic testing set", function() | 36 | describe("LuaRocks build - basic testing set", function() |