diff options
Diffstat (limited to 'spec/install_spec.lua')
| -rw-r--r-- | spec/install_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/install_spec.lua b/spec/install_spec.lua index 92b780d3..d72d88ba 100644 --- a/spec/install_spec.lua +++ b/spec/install_spec.lua | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | local test_env = require("test/test_environment") | 1 | local test_env = require("spec.util.test_env") |
| 2 | local lfs = require("lfs") | 2 | local lfs = require("lfs") |
| 3 | local run = test_env.run | 3 | local run = test_env.run |
| 4 | local testing_paths = test_env.testing_paths | 4 | local testing_paths = test_env.testing_paths |
| @@ -43,7 +43,7 @@ describe("LuaRocks install tests #blackbox #b_install", function() | |||
| 43 | end) | 43 | end) |
| 44 | 44 | ||
| 45 | it("LuaRocks install invalid patch", function() | 45 | it("LuaRocks install invalid patch", function() |
| 46 | assert.is_false(run.luarocks_bool("install " .. testing_paths.testing_dir .. "/testfiles/invalid_patch-0.1-1.rockspec")) | 46 | assert.is_false(run.luarocks_bool("install " .. testing_paths.fixtures_dir .. "/invalid_patch-0.1-1.rockspec")) |
| 47 | end) | 47 | end) |
| 48 | 48 | ||
| 49 | it("LuaRocks install invalid rock", function() | 49 | it("LuaRocks install invalid rock", function() |
| @@ -55,7 +55,7 @@ describe("LuaRocks install tests #blackbox #b_install", function() | |||
| 55 | end) | 55 | end) |
| 56 | 56 | ||
| 57 | it("LuaRocks install not a zip file", function() | 57 | it("LuaRocks install not a zip file", function() |
| 58 | assert.is_false(run.luarocks_bool("install " .. testing_paths.testing_dir .. "/testfiles/not_a_zipfile-1.0-1.src.rock")) | 58 | assert.is_false(run.luarocks_bool("install " .. testing_paths.fixtures_dir .. "/not_a_zipfile-1.0-1.src.rock")) |
| 59 | end) | 59 | end) |
| 60 | 60 | ||
| 61 | it("LuaRocks install only-deps of lxsh show there is no lxsh", function() | 61 | it("LuaRocks install only-deps of lxsh show there is no lxsh", function() |
