aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spec/upload_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/upload_spec.lua b/spec/upload_spec.lua
index 6ec8e302..4091bbc9 100644
--- a/spec/upload_spec.lua
+++ b/spec/upload_spec.lua
@@ -60,10 +60,10 @@ describe("LuaRocks upload tests #blackbox #b_upload", function()
60 end) 60 end)
61 61
62 it("LuaRocks upload rockspec with api-key", function() 62 it("LuaRocks upload rockspec with api-key", function()
63 assert.is_true(run.luarocks_bool("upload " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec " .. test_env.OPENSSL_DIRS .. " --api-key=123", {LUAROCKS_CONFIG = testing_paths.testing_dir .. "/luarocks_site.lua"})) 63 assert.is_true(run.luarocks_bool("upload " .. testing_paths.testing_dir .. "/testfiles/a_rock-1.0-1.rockspec " .. test_env.OPENSSL_DIRS .. " --api-key=123", {LUAROCKS_CONFIG = testing_paths.testing_dir .. "/luarocks_site.lua"}))
64 end) 64 end)
65 it("LuaRocks upload rockspec with api-key and skip-pack", function() 65 it("LuaRocks upload rockspec with api-key and skip-pack", function()
66 assert.is_true(run.luarocks_bool("upload --skip-pack " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec " .. test_env.OPENSSL_DIRS .. " --api-key=123", {LUAROCKS_CONFIG = testing_paths.testing_dir .. "/luarocks_site.lua"})) 66 assert.is_true(run.luarocks_bool("upload --skip-pack " .. testing_paths.testing_dir .. "/testfiles/a_rock-1.0-1.rockspec " .. test_env.OPENSSL_DIRS .. " --api-key=123", {LUAROCKS_CONFIG = testing_paths.testing_dir .. "/luarocks_site.lua"}))
67 end) 67 end)
68 end) 68 end)
69end) 69end)