diff options
Diffstat (limited to 'spec/doc_spec.lua')
-rw-r--r-- | spec/doc_spec.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/doc_spec.lua b/spec/doc_spec.lua index a10bb501..062b36e7 100644 --- a/spec/doc_spec.lua +++ b/spec/doc_spec.lua | |||
@@ -2,8 +2,6 @@ local test_env = require("spec.util.test_env") | |||
2 | local run = test_env.run | 2 | local run = test_env.run |
3 | local testing_paths = test_env.testing_paths | 3 | local testing_paths = test_env.testing_paths |
4 | 4 | ||
5 | test_env.unload_luarocks() | ||
6 | |||
7 | describe("luarocks doc #integration", function() | 5 | describe("luarocks doc #integration", function() |
8 | before_each(function() | 6 | before_each(function() |
9 | test_env.setup_specs() | 7 | test_env.setup_specs() |
@@ -129,7 +127,7 @@ describe("luarocks doc #integration", function() | |||
129 | end) | 127 | end) |
130 | 128 | ||
131 | it("with --local", function() | 129 | it("with --local", function() |
132 | assert.is_true(run.luarocks_bool("install --server=" .. testing_paths.fixtures_dir .. "/a_repo a_rock")) | 130 | assert.is_true(run.luarocks_bool("install --local --server=" .. testing_paths.fixtures_dir .. "/a_repo a_rock")) |
133 | assert.is_true(run.luarocks_bool("doc --server=" .. testing_paths.fixtures_dir .. "/a_repo a_rock --local")) | 131 | assert.is_true(run.luarocks_bool("doc --server=" .. testing_paths.fixtures_dir .. "/a_repo a_rock --local")) |
134 | end) | 132 | end) |
135 | 133 | ||