aboutsummaryrefslogtreecommitdiff
path: root/spec/search_spec.lua
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2016-07-08 14:30:00 +0300
committerPeter Melnichenko <mpeterval@gmail.com>2016-07-08 14:43:19 +0300
commit8867f3324d97584ed24f3a1082144e9b1375d663 (patch)
tree6d2ac6859128b94e02c7e9fb247cc505ab62d6c4 /spec/search_spec.lua
parent20a1baba59e7555b3140e0c2226948447fe8e62a (diff)
downloadluarocks-8867f3324d97584ed24f3a1082144e9b1375d663.tar.gz
luarocks-8867f3324d97584ed24f3a1082144e9b1375d663.tar.bz2
luarocks-8867f3324d97584ed24f3a1082144e9b1375d663.zip
Make env vars, paths and run commands available on test env load
Diffstat (limited to 'spec/search_spec.lua')
-rw-r--r--spec/search_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/search_spec.lua b/spec/search_spec.lua
index 93e85928..33c49856 100644
--- a/spec/search_spec.lua
+++ b/spec/search_spec.lua
@@ -1,4 +1,5 @@
1local test_env = require("test/test_environment") 1local test_env = require("test/test_environment")
2local run = test_env.run
2 3
3test_env.unload_luarocks() 4test_env.unload_luarocks()
4 5
@@ -10,7 +11,6 @@ describe("LuaRocks search tests #blackbox #b_search", function()
10 11
11 before_each(function() 12 before_each(function()
12 test_env.setup_specs(extra_rocks) 13 test_env.setup_specs(extra_rocks)
13 run = test_env.run
14 end) 14 end)
15 15
16 it("LuaRocks search with no flags/arguments", function() 16 it("LuaRocks search with no flags/arguments", function()