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/refresh_cache_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/refresh_cache_spec.lua')
| -rw-r--r-- | spec/refresh_cache_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/refresh_cache_spec.lua b/spec/refresh_cache_spec.lua index 764cbcb5..34d211ab 100644 --- a/spec/refresh_cache_spec.lua +++ b/spec/refresh_cache_spec.lua | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | local test_env = require("test/test_environment") | 1 | local test_env = require("test/test_environment") |
| 2 | local run = test_env.run | ||
| 2 | 3 | ||
| 3 | test_env.unload_luarocks() | 4 | test_env.unload_luarocks() |
| 4 | 5 | ||
| @@ -6,7 +7,6 @@ describe("LuaRocks refresh_cache tests #blackbox #b_refresh_cache", function() | |||
| 6 | 7 | ||
| 7 | before_each(function() | 8 | before_each(function() |
| 8 | test_env.setup_specs(extra_rocks) | 9 | test_env.setup_specs(extra_rocks) |
| 9 | run = test_env.run | ||
| 10 | end) | 10 | end) |
| 11 | 11 | ||
| 12 | describe("LuaRocks-admin refresh cache tests #ssh", function() | 12 | describe("LuaRocks-admin refresh cache tests #ssh", function() |
