diff options
Diffstat (limited to 'spec/download_spec.lua')
-rw-r--r-- | spec/download_spec.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/download_spec.lua b/spec/download_spec.lua index 823e154f..66b12d6f 100644 --- a/spec/download_spec.lua +++ b/spec/download_spec.lua | |||
@@ -6,7 +6,7 @@ local testing_paths = test_env.testing_paths | |||
6 | test_env.unload_luarocks() | 6 | test_env.unload_luarocks() |
7 | 7 | ||
8 | local extra_rocks = { | 8 | local extra_rocks = { |
9 | "/validate-args-1.5.4-1.rockspec" | 9 | "/say-1.3-1.rockspec", |
10 | } | 10 | } |
11 | 11 | ||
12 | describe("luarocks download #integration", function() | 12 | describe("luarocks download #integration", function() |
@@ -24,15 +24,15 @@ describe("luarocks download #integration", function() | |||
24 | end) | 24 | end) |
25 | 25 | ||
26 | it("all with delete downloaded files", function() --TODO maybe download --all more rocks | 26 | it("all with delete downloaded files", function() --TODO maybe download --all more rocks |
27 | assert.is_true(run.luarocks_bool("download --all validate-args")) | 27 | assert.is_true(run.luarocks_bool("download --all say")) |
28 | assert.is.truthy(lfs.attributes("validate-args-1.5.4-1.rockspec")) | 28 | assert.is.truthy(lfs.attributes("say-1.3-1.rockspec")) |
29 | test_env.remove_files(lfs.currentdir(), "validate--args--") | 29 | test_env.remove_files(lfs.currentdir(), "say--") |
30 | end) | 30 | end) |
31 | 31 | ||
32 | it("rockspec version", function() | 32 | it("rockspec version", function() |
33 | assert.is_true(run.luarocks_bool("download --rockspec validate-args 1.5.4-1")) | 33 | assert.is_true(run.luarocks_bool("download --rockspec say 1.3-1")) |
34 | assert.is.truthy(lfs.attributes("validate-args-1.5.4-1.rockspec")) | 34 | assert.is.truthy(lfs.attributes("say-1.3-1.rockspec")) |
35 | test_env.remove_files(lfs.currentdir(), "validate--args--") | 35 | test_env.remove_files(lfs.currentdir(), "say--") |
36 | end) | 36 | end) |
37 | 37 | ||
38 | describe("#namespaces", function() | 38 | describe("#namespaces", function() |