aboutsummaryrefslogtreecommitdiff
path: root/spec/upload_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/upload_spec.lua')
-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 73775992..73f26cd7 100644
--- a/spec/upload_spec.lua
+++ b/spec/upload_spec.lua
@@ -23,12 +23,12 @@ describe("luarocks upload #integration", function()
23 end) 23 end)
24 24
25 it("api key invalid and skip-pack", function() 25 it("api key invalid and skip-pack", function()
26 assert.is_false(run.luarocks_bool("upload --api-key=\"invalid\" --skip-pack " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec")) 26 assert.is_false(run.luarocks_bool("upload --api-key=\"invalid\" --skip-pack " .. testing_paths.testing_server .. "/luasocket-${LUASOCKET}.rockspec"))
27 end) 27 end)
28 28
29 it("force #unix", function() 29 it("force #unix", function()
30 assert.is_true(test_env.need_rock("dkjson")) 30 assert.is_true(test_env.need_rock("dkjson"))
31 assert.is_false(run.luarocks_bool("upload --api-key=\"invalid\" --force " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec")) 31 assert.is_false(run.luarocks_bool("upload --api-key=\"invalid\" --force " .. testing_paths.testing_server .. "/luasocket-${LUASOCKET}.rockspec"))
32 end) 32 end)
33 33
34 describe("tests with Xavante server #mock", function() 34 describe("tests with Xavante server #mock", function()