diff options
| -rw-r--r-- | spec/upload_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/upload_spec.lua b/spec/upload_spec.lua index ff39cb96..cd175730 100644 --- a/spec/upload_spec.lua +++ b/spec/upload_spec.lua | |||
| @@ -42,12 +42,12 @@ describe("LuaRocks upload tests #blackbox #b_upload", function() | |||
| 42 | end) | 42 | end) |
| 43 | 43 | ||
| 44 | it("LuaRocks upload api key invalid and skip-pack", function() | 44 | it("LuaRocks upload api key invalid and skip-pack", function() |
| 45 | assert.is_false(run.luarocks_bool("upload --api-key=\"invalid\" --skip-pack luacov-0.11.0-1.rockspec")) | 45 | assert.is_false(run.luarocks_bool("upload --api-key=\"invalid\" --skip-pack " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec")) |
| 46 | end) | 46 | end) |
| 47 | 47 | ||
| 48 | it("LuaRocks upload force #unix", function() | 48 | it("LuaRocks upload force #unix", function() |
| 49 | assert.is_true(run.luarocks_bool("install lua-cjson")) | 49 | assert.is_true(run.luarocks_bool("install lua-cjson")) |
| 50 | assert.is_false(run.luarocks_bool("upload --api-key=\"invalid\" --force luacov-0.11.0-1.rockspec")) | 50 | assert.is_false(run.luarocks_bool("upload --api-key=\"invalid\" --force " .. testing_paths.testing_server .. "/luasocket-3.0rc1-2.rockspec")) |
| 51 | assert.is_true(run.luarocks_bool("install lua-cjson")) | 51 | assert.is_true(run.luarocks_bool("install lua-cjson")) |
| 52 | end) | 52 | end) |
| 53 | 53 | ||
