diff options
Diffstat (limited to 'spec/upload_spec.lua')
| -rw-r--r-- | spec/upload_spec.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/upload_spec.lua b/spec/upload_spec.lua index d959f64a..02b68611 100644 --- a/spec/upload_spec.lua +++ b/spec/upload_spec.lua | |||
| @@ -7,6 +7,7 @@ test_env.unload_luarocks() | |||
| 7 | local extra_rocks = { | 7 | local extra_rocks = { |
| 8 | "/lua-cjson-2.1.0-1.src.rock", | 8 | "/lua-cjson-2.1.0-1.src.rock", |
| 9 | 9 | ||
| 10 | -- rocks needed for mock-server | ||
| 10 | "/copas-2.0.1-1.src.rock", | 11 | "/copas-2.0.1-1.src.rock", |
| 11 | "/coxpcall-1.16.0-1.src.rock", | 12 | "/coxpcall-1.16.0-1.src.rock", |
| 12 | "/dkjson-2.5-2.src.rock", | 13 | "/dkjson-2.5-2.src.rock", |
| @@ -50,7 +51,7 @@ describe("LuaRocks upload tests #blackbox #b_upload", function() | |||
| 50 | assert.is_true(run.luarocks_bool("install lua-cjson")) | 51 | assert.is_true(run.luarocks_bool("install lua-cjson")) |
| 51 | end) | 52 | end) |
| 52 | 53 | ||
| 53 | describe("LuaRocks upload tests with Xavante server", function() | 54 | describe("LuaRocks upload tests with Xavante server #mock", function() |
| 54 | before_each(function() | 55 | before_each(function() |
| 55 | assert.is_true(test_env.need_rock("restserver-xavante")) | 56 | assert.is_true(test_env.need_rock("restserver-xavante")) |
| 56 | local final_command = test_env.execute_helper(testing_paths.lua .. " " .. testing_paths.testing_dir .. "/mock-server.lua &", true, test_env.env_variables) | 57 | local final_command = test_env.execute_helper(testing_paths.lua .. " " .. testing_paths.testing_dir .. "/mock-server.lua &", true, test_env.env_variables) |
