From bd27d052eaf856bf24c77f556a50b7e19f11cba1 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Fri, 14 Feb 2020 09:53:12 -0300 Subject: tests: shorter descriptions --- spec/download_spec.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'spec/download_spec.lua') diff --git a/spec/download_spec.lua b/spec/download_spec.lua index 39f5b056..42f72008 100644 --- a/spec/download_spec.lua +++ b/spec/download_spec.lua @@ -9,27 +9,27 @@ local extra_rocks = { "/validate-args-1.5.4-1.rockspec" } -describe("LuaRocks download tests #integration", function() +describe("luarocks download #integration", function() before_each(function() test_env.setup_specs(extra_rocks) end) - it("LuaRocks download with no flags/arguments", function() + it("with no flags/arguments", function() assert.is_false(run.luarocks_bool("download")) end) - it("LuaRocks download invalid", function() + it("invalid", function() assert.is_false(run.luarocks_bool("download invalid")) end) - it("LuaRocks download all with delete downloaded files", function() --TODO maybe download --all more rocks + it("all with delete downloaded files", function() --TODO maybe download --all more rocks assert.is_true(run.luarocks_bool("download --all validate-args")) assert.is.truthy(lfs.attributes("validate-args-1.5.4-1.rockspec")) test_env.remove_files(lfs.currentdir(), "validate--args--") end) - it("LuaRocks download rockspec version", function() + it("rockspec version", function() assert.is_true(run.luarocks_bool("download --rockspec validate-args 1.5.4-1")) assert.is.truthy(lfs.attributes("validate-args-1.5.4-1.rockspec")) test_env.remove_files(lfs.currentdir(), "validate--args--") -- cgit v1.2.3-55-g6feb