summaryrefslogtreecommitdiff
path: root/spec/install_spec.lua
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-01-08 16:26:48 -0200
committerHisham Muhammad <hisham@gobolinux.org>2018-01-08 16:26:48 -0200
commitd80124af9cd929b395b4d4c353b51ccc902a3f9e (patch)
treea738a509039b286697819db762916cfda0384413 /spec/install_spec.lua
parent98a0bd9a97190be8ba10f14a3d67e42de827b04a (diff)
downloadluarocks-d80124af9cd929b395b4d4c353b51ccc902a3f9e.tar.gz
luarocks-d80124af9cd929b395b4d4c353b51ccc902a3f9e.tar.bz2
luarocks-d80124af9cd929b395b4d4c353b51ccc902a3f9e.zip
Reorganize test suite files
Diffstat (limited to 'spec/install_spec.lua')
-rw-r--r--spec/install_spec.lua6
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 @@
1local test_env = require("test/test_environment") 1local test_env = require("spec.util.test_env")
2local lfs = require("lfs") 2local lfs = require("lfs")
3local run = test_env.run 3local run = test_env.run
4local testing_paths = test_env.testing_paths 4local 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()