diff options
Diffstat (limited to 'spec/help_spec.lua')
-rw-r--r-- | spec/help_spec.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/help_spec.lua b/spec/help_spec.lua index 93b89ce7..70dc5a7e 100644 --- a/spec/help_spec.lua +++ b/spec/help_spec.lua | |||
@@ -3,25 +3,25 @@ local run = test_env.run | |||
3 | 3 | ||
4 | test_env.unload_luarocks() | 4 | test_env.unload_luarocks() |
5 | 5 | ||
6 | describe("LuaRocks help tests #integration", function() | 6 | describe("luarocks help #integration", function() |
7 | 7 | ||
8 | before_each(function() | 8 | before_each(function() |
9 | test_env.setup_specs() | 9 | test_env.setup_specs() |
10 | end) | 10 | end) |
11 | 11 | ||
12 | it("LuaRocks help with no flags/arguments", function() | 12 | it("with no flags/arguments", function() |
13 | assert.is_true(run.luarocks_bool("help")) | 13 | assert.is_true(run.luarocks_bool("help")) |
14 | end) | 14 | end) |
15 | 15 | ||
16 | it("LuaRocks help invalid argument", function() | 16 | it("invalid argument", function() |
17 | assert.is_false(run.luarocks_bool("help invalid")) | 17 | assert.is_false(run.luarocks_bool("help invalid")) |
18 | end) | 18 | end) |
19 | 19 | ||
20 | it("LuaRocks help config", function() | 20 | it("config", function() |
21 | assert.is_true(run.luarocks_bool("help config")) | 21 | assert.is_true(run.luarocks_bool("help config")) |
22 | end) | 22 | end) |
23 | 23 | ||
24 | it("LuaRocks-admin help with no flags/arguments", function() | 24 | it("luarocks-admin help with no flags/arguments", function() |
25 | assert.is_true(run.luarocks_admin_bool(test_env.quiet("help"))) | 25 | assert.is_true(run.luarocks_admin_bool(test_env.quiet("help"))) |
26 | end) | 26 | end) |
27 | end) | 27 | end) |