diff options
| author | Peter Melnichenko <mpeterval@gmail.com> | 2016-07-09 16:35:33 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-09 16:35:33 +0400 |
| commit | 8e55688c191827a9b2e9c499a95c888078979e8c (patch) | |
| tree | aeaf8c1886c949e8e357b59a04cebc3be3930bce /spec/show_spec.lua | |
| parent | 5af7e0d7c2dcf65e41ae8523f3771e9528be32a7 (diff) | |
| parent | a05ba7ce42ae4e42f80b5cacdd8770ae5e6cc04b (diff) | |
| download | luarocks-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/show_spec.lua')
| -rw-r--r-- | spec/show_spec.lua | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/spec/show_spec.lua b/spec/show_spec.lua index 85797eb6..f528a6de 100644 --- a/spec/show_spec.lua +++ b/spec/show_spec.lua | |||
| @@ -1,14 +1,12 @@ | |||
| 1 | local test_env = require("test/test_environment") | 1 | local test_env = require("test/test_environment") |
| 2 | local lfs = require("lfs") | 2 | local run = test_env.run |
| 3 | 3 | ||
| 4 | test_env.unload_luarocks() | 4 | test_env.unload_luarocks() |
| 5 | local show = require("luarocks.show") | ||
| 6 | 5 | ||
| 7 | expose("LuaRocks show tests #blackbox #b_show", function() | 6 | describe("LuaRocks show tests #blackbox #b_show", 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 show with no flags/arguments", function() | 12 | it("LuaRocks show with no flags/arguments", function() |
