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.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/upload_spec.lua b/spec/upload_spec.lua
index daf40d61..c10ef0e9 100644
--- a/spec/upload_spec.lua
+++ b/spec/upload_spec.lua
@@ -1,18 +1,16 @@
1local test_env = require("test/test_environment") 1local test_env = require("test/test_environment")
2local lfs = require("lfs") 2local run = test_env.run
3 3
4test_env.unload_luarocks() 4test_env.unload_luarocks()
5local upload = require("luarocks.upload")
6 5
7local extra_rocks = { 6local extra_rocks = {
8 "/lua-cjson-2.1.0-1.src.rock" 7 "/lua-cjson-2.1.0-1.src.rock"
9} 8}
10 9
11expose("LuaRocks upload tests #blackbox #b_upload", function() 10describe("LuaRocks upload tests #blackbox #b_upload", function()
12 11
13 before_each(function() 12 before_each(function()
14 test_env.setup_specs(extra_rocks) 13 test_env.setup_specs(extra_rocks)
15 run = test_env.run
16 end) 14 end)
17 15
18 it("LuaRocks upload with no flags/arguments", function() 16 it("LuaRocks upload with no flags/arguments", function()