diff options
Diffstat (limited to 'spec/purge_spec.lua')
-rw-r--r-- | spec/purge_spec.lua | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/spec/purge_spec.lua b/spec/purge_spec.lua index 639f96f3..09a9d433 100644 --- a/spec/purge_spec.lua +++ b/spec/purge_spec.lua | |||
@@ -1,14 +1,12 @@ | |||
1 | local test_env = require("test/test_environment") | 1 | local test_env = require("test/test_environment") |
2 | local lfs = require("lfs") | 2 | local run = test_env.run |
3 | local testing_paths = test_env.testing_paths | ||
3 | 4 | ||
4 | test_env.unload_luarocks() | 5 | test_env.unload_luarocks() |
5 | local purge = require("luarocks.purge") | ||
6 | 6 | ||
7 | expose("LuaRocks purge tests #blackbox #b_purge", function() | 7 | describe("LuaRocks purge tests #blackbox #b_purge", function() |
8 | before_each(function() | 8 | before_each(function() |
9 | test_env.setup_specs(extra_rocks) | 9 | test_env.setup_specs() |
10 | testing_paths = test_env.testing_paths | ||
11 | run = test_env.run | ||
12 | end) | 10 | end) |
13 | 11 | ||
14 | describe("LuaRocks purge basic tests", function() | 12 | describe("LuaRocks purge basic tests", function() |