diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/test_spec.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/test_spec.lua b/spec/test_spec.lua index 33643097..4be0567f 100644 --- a/spec/test_spec.lua +++ b/spec/test_spec.lua | |||
@@ -98,6 +98,15 @@ describe("luarocks test #integration", function() | |||
98 | 98 | ||
99 | end) | 99 | end) |
100 | end) | 100 | end) |
101 | |||
102 | describe("command backend", function() | ||
103 | describe("prepare", function() | ||
104 | it("works with non-busted rocks", function() | ||
105 | write_file("test.lua", "", finally) | ||
106 | assert.is_true(run.luarocks_bool("test --prepare " .. testing_paths.fixtures_dir .. "/a_rock-1.0-1.rockspec")) | ||
107 | end) | ||
108 | end) | ||
109 | end) | ||
101 | end) | 110 | end) |
102 | 111 | ||
103 | test_env.unload_luarocks() | 112 | test_env.unload_luarocks() |