aboutsummaryrefslogtreecommitdiff
path: root/spec/path_spec.lua
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2016-07-09 16:35:33 +0400
committerGitHub <noreply@github.com>2016-07-09 16:35:33 +0400
commit8e55688c191827a9b2e9c499a95c888078979e8c (patch)
treeaeaf8c1886c949e8e357b59a04cebc3be3930bce /spec/path_spec.lua
parent5af7e0d7c2dcf65e41ae8523f3771e9528be32a7 (diff)
parenta05ba7ce42ae4e42f80b5cacdd8770ae5e6cc04b (diff)
downloadluarocks-8e55688c191827a9b2e9c499a95c888078979e8c.tar.gz
luarocks-8e55688c191827a9b2e9c499a95c888078979e8c.tar.bz2
luarocks-8e55688c191827a9b2e9c499a95c888078979e8c.zip
Merge pull request #583 from mpeterv/adjust-new-tests
Minor changes and fixes for new test suite
Diffstat (limited to 'spec/path_spec.lua')
-rw-r--r--spec/path_spec.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/spec/path_spec.lua b/spec/path_spec.lua
index 266ada89..22f07591 100644
--- a/spec/path_spec.lua
+++ b/spec/path_spec.lua
@@ -1,13 +1,11 @@
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 path = require("luarocks.path")
6 5
7expose("LuaRocks path tests #blackbox #b_path", function() 6describe("LuaRocks path tests #blackbox #b_path", function()
8 before_each(function() 7 before_each(function()
9 test_env.setup_specs(extra_rocks) 8 test_env.setup_specs()
10 run = test_env.run
11 end) 9 end)
12 10
13 it("LuaRocks path bin", function() 11 it("LuaRocks path bin", function()