diff options
Diffstat (limited to 'spec/upload_spec.lua')
| -rw-r--r-- | spec/upload_spec.lua | 6 |
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 @@ | |||
| 1 | local test_env = require("test/test_environment") | 1 | local test_env = require("test/test_environment") |
| 2 | local lfs = require("lfs") | 2 | local run = test_env.run |
| 3 | 3 | ||
| 4 | test_env.unload_luarocks() | 4 | test_env.unload_luarocks() |
| 5 | local upload = require("luarocks.upload") | ||
| 6 | 5 | ||
| 7 | local extra_rocks = { | 6 | local extra_rocks = { |
| 8 | "/lua-cjson-2.1.0-1.src.rock" | 7 | "/lua-cjson-2.1.0-1.src.rock" |
| 9 | } | 8 | } |
| 10 | 9 | ||
| 11 | expose("LuaRocks upload tests #blackbox #b_upload", function() | 10 | describe("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() |
