diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/show_spec.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/show_spec.lua b/spec/show_spec.lua index abf9a93b..4880106d 100644 --- a/spec/show_spec.lua +++ b/spec/show_spec.lua | |||
| @@ -77,4 +77,15 @@ describe("LuaRocks show #blackbox #b_show", function() | |||
| 77 | run.luarocks("install luacov 0.11.0") | 77 | run.luarocks("install luacov 0.11.0") |
| 78 | run.luarocks_bool("show luacov 0.11.0") | 78 | run.luarocks_bool("show luacov 0.11.0") |
| 79 | end) | 79 | end) |
| 80 | |||
| 81 | it("shows #build_dependencies", function() | ||
| 82 | assert(run.luarocks_bool("install has_build_dep --server=" .. testing_paths.fixtures_dir .. "/a_repo" )) | ||
| 83 | assert.match("a_build_dep", run.luarocks("show has_build_dep")) | ||
| 84 | end) | ||
| 85 | |||
| 86 | it("gets #build_dependencies via --build-deps", function() | ||
| 87 | assert(run.luarocks_bool("install has_build_dep --server=" .. testing_paths.fixtures_dir .. "/a_repo" )) | ||
| 88 | assert.match("a_build_dep", run.luarocks("show has_build_dep --build-deps")) | ||
| 89 | end) | ||
| 90 | |||
| 80 | end) | 91 | end) |
