diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2017-10-08 01:31:21 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2017-10-08 01:31:21 -0300 |
| commit | feedb79595885c8f86ad412ef561f05664da7c14 (patch) | |
| tree | 49b94267e185c38eb5b7e89553776b7728aea624 /spec | |
| parent | afcba75d2772e664b69698390c8000210b203175 (diff) | |
| download | luarocks-feedb79595885c8f86ad412ef561f05664da7c14.tar.gz luarocks-feedb79595885c8f86ad412ef561f05664da7c14.tar.bz2 luarocks-feedb79595885c8f86ad412ef561f05664da7c14.zip | |
Tests: use local fixture for upload test.
Do not hit the github repository for LuaSocket in upload test.
Diffstat (limited to 'spec')
| -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 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) |
| 69 | end) | 69 | end) |
