diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2018-05-28 19:12:08 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-05-28 20:15:26 -0300 |
| commit | 27ae57f6140cb8c136c74c38d415afdcadb58ddd (patch) | |
| tree | 6047ddc183a9c40960b1bd650c58409662680d8b /spec/upload_spec.lua | |
| parent | 5b496c39e051f0ed77c1969580a91e733ec3f6a8 (diff) | |
| download | luarocks-27ae57f6140cb8c136c74c38d415afdcadb58ddd.tar.gz luarocks-27ae57f6140cb8c136c74c38d415afdcadb58ddd.tar.bz2 luarocks-27ae57f6140cb8c136c74c38d415afdcadb58ddd.zip | |
Tests: cache build of mock server dependencies to speed up tests
Diffstat (limited to 'spec/upload_spec.lua')
| -rw-r--r-- | spec/upload_spec.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/upload_spec.lua b/spec/upload_spec.lua index 3adfa2dd..a54f21c5 100644 --- a/spec/upload_spec.lua +++ b/spec/upload_spec.lua | |||
| @@ -4,12 +4,10 @@ local testing_paths = test_env.testing_paths | |||
| 4 | 4 | ||
| 5 | test_env.unload_luarocks() | 5 | test_env.unload_luarocks() |
| 6 | 6 | ||
| 7 | local extra_rocks = test_env.mock_server_extra_rocks() | ||
| 8 | |||
| 9 | describe("LuaRocks upload tests #blackbox #b_upload", function() | 7 | describe("LuaRocks upload tests #blackbox #b_upload", function() |
| 10 | 8 | ||
| 11 | before_each(function() | 9 | before_each(function() |
| 12 | test_env.setup_specs(extra_rocks) | 10 | test_env.setup_specs() |
| 13 | end) | 11 | end) |
| 14 | 12 | ||
| 15 | it("LuaRocks upload with no flags/arguments", function() | 13 | it("LuaRocks upload with no flags/arguments", function() |
