aboutsummaryrefslogtreecommitdiff
path: root/spec/install_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install_spec.lua')
-rw-r--r--spec/install_spec.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/install_spec.lua b/spec/install_spec.lua
index 4043af35..b4273692 100644
--- a/spec/install_spec.lua
+++ b/spec/install_spec.lua
@@ -223,4 +223,13 @@ describe("luarocks install #blackbox #b_install", function()
223 assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/say/1.0-1")) 223 assert.is.truthy(lfs.attributes(testing_paths.testing_sys_rocks .. "/say/1.0-1"))
224 end) 224 end)
225 end) 225 end)
226
227 describe("#build_dependencies", function()
228 it("install does not install a build dependency", function()
229 assert(run.luarocks_bool("install has_build_dep --server=" .. testing_paths.fixtures_dir .. "/a_repo" ))
230 assert(run.luarocks_bool("show has_build_dep 1.0"))
231 assert.falsy(run.luarocks_bool("show a_build_dep 1.0"))
232 end)
233 end)
234
226end) 235end)