diff options
Diffstat (limited to 'spec/which_spec.lua')
| -rw-r--r-- | spec/which_spec.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/which_spec.lua b/spec/which_spec.lua index 9ccb1040..5712511b 100644 --- a/spec/which_spec.lua +++ b/spec/which_spec.lua | |||
| @@ -2,17 +2,14 @@ local test_env = require("spec.util.test_env") | |||
| 2 | local run = test_env.run | 2 | local run = test_env.run |
| 3 | local P = test_env.P | 3 | local P = test_env.P |
| 4 | 4 | ||
| 5 | test_env.unload_luarocks() | ||
| 6 | |||
| 7 | local extra_rocks = { | 5 | local extra_rocks = { |
| 8 | "/say-1.2-1.src.rock", | 6 | "/say-1.2-1.src.rock", |
| 9 | } | 7 | } |
| 10 | 8 | ||
| 11 | describe("luarocks which #integration", function() | 9 | describe("luarocks which #integration", function() |
| 12 | 10 | ||
| 13 | setup(function() | 11 | lazy_setup(function() |
| 14 | test_env.setup_specs(extra_rocks) | 12 | test_env.setup_specs(extra_rocks) |
| 15 | test_env.unload_luarocks() -- need to be required here, because hardcoded is created after first loading of specs | ||
| 16 | end) | 13 | end) |
| 17 | 14 | ||
| 18 | it("fails on missing arguments", function() | 15 | it("fails on missing arguments", function() |
