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/unpack_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/unpack_spec.lua')
-rw-r--r-- | spec/unpack_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unpack_spec.lua b/spec/unpack_spec.lua index 1e9df811..db71aa06 100644 --- a/spec/unpack_spec.lua +++ b/spec/unpack_spec.lua | |||
@@ -1,4 +1,6 @@ | |||
1 | local test_env = require("test/test_environment") | 1 | local test_env = require("test/test_environment") |
2 | local run = test_env.run | ||
3 | local testing_paths = test_env.testing_paths | ||
2 | 4 | ||
3 | test_env.unload_luarocks() | 5 | test_env.unload_luarocks() |
4 | 6 | ||
@@ -11,8 +13,6 @@ describe("LuaRocks unpack tests #blackbox #b_unpack", function() | |||
11 | 13 | ||
12 | before_each(function() | 14 | before_each(function() |
13 | test_env.setup_specs(extra_rocks) | 15 | test_env.setup_specs(extra_rocks) |
14 | testing_paths = test_env.testing_paths | ||
15 | run = test_env.run | ||
16 | platform = test_env.platform | 16 | platform = test_env.platform |
17 | end) | 17 | end) |
18 | 18 | ||