diff options
author | Peter Melnichenko <mpeterval@gmail.com> | 2017-09-11 13:19:03 +0300 |
---|---|---|
committer | Peter Melnichenko <mpeterval@gmail.com> | 2017-09-11 13:19:03 +0300 |
commit | 85701e003241798e36b81ed1e3ed285f7bf5c7a0 (patch) | |
tree | f5af4afe237fe005d43218ed2ff244e9f085004c /spec | |
parent | 957149e4be48fe3f87b44f73984c5b20fd8d08f1 (diff) | |
download | luarocks-85701e003241798e36b81ed1e3ed285f7bf5c7a0.tar.gz luarocks-85701e003241798e36b81ed1e3ed285f7bf5c7a0.tar.bz2 luarocks-85701e003241798e36b81ed1e3ed285f7bf5c7a0.zip |
Clarify test_env.need_rock description wrt return value
Diffstat (limited to 'spec')
-rw-r--r-- | spec/upload_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/upload_spec.lua b/spec/upload_spec.lua index 8b3e0433..6ec8e302 100644 --- a/spec/upload_spec.lua +++ b/spec/upload_spec.lua | |||
@@ -50,7 +50,7 @@ describe("LuaRocks upload tests #blackbox #b_upload", function() | |||
50 | 50 | ||
51 | describe("LuaRocks upload tests with Xavante server #mock", function() | 51 | describe("LuaRocks upload tests with Xavante server #mock", function() |
52 | before_each(function() | 52 | before_each(function() |
53 | assert.is.truthy(test_env.need_rock("restserver-xavante")) | 53 | assert.is_true(test_env.need_rock("restserver-xavante")) |
54 | local final_command = test_env.execute_helper(testing_paths.lua .. " " .. testing_paths.testing_dir .. "/mock-server.lua &", true, test_env.env_variables) | 54 | local final_command = test_env.execute_helper(testing_paths.lua .. " " .. testing_paths.testing_dir .. "/mock-server.lua &", true, test_env.env_variables) |
55 | os.execute(final_command) | 55 | os.execute(final_command) |
56 | end) | 56 | end) |