aboutsummaryrefslogtreecommitdiff
path: root/spec/help_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/help_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/help_spec.lua')
-rw-r--r--spec/help_spec.lua10
1 files changed, 4 insertions, 6 deletions
diff --git a/spec/help_spec.lua b/spec/help_spec.lua
index 0f40dd38..0d41e2e9 100644
--- a/spec/help_spec.lua
+++ b/spec/help_spec.lua
@@ -1,14 +1,12 @@
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 help = require("luarocks.help")
6 5
7expose("LuaRocks help tests #blackbox #b_help", function() 6describe("LuaRocks help tests #blackbox #b_help", function()
8 7
9 before_each(function() 8 before_each(function()
10 test_env.setup_specs(extra_rocks) 9 test_env.setup_specs()
11 run = test_env.run
12 end) 10 end)
13 11
14 it("LuaRocks help with no flags/arguments", function() 12 it("LuaRocks help with no flags/arguments", function()
@@ -26,4 +24,4 @@ expose("LuaRocks help tests #blackbox #b_help", function()
26 it("LuaRocks-admin help with no flags/arguments", function() 24 it("LuaRocks-admin help with no flags/arguments", function()
27 assert.is_true(run.luarocks_admin_bool("help")) 25 assert.is_true(run.luarocks_admin_bool("help"))
28 end) 26 end)
29end) \ No newline at end of file 27end)