aboutsummaryrefslogtreecommitdiff
path: root/spec/refresh_cache_spec.lua
blob: 9bf0361c0acc292b72676969fc8bba957842325b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local test_env = require("spec.util.test_env")
local run = test_env.run

test_env.unload_luarocks()

describe("LuaRocks refresh_cache tests #integration", function()

   before_each(function()
      test_env.setup_specs()
   end)

   describe("LuaRocks-admin refresh cache tests #ssh", function()
      it("LuaRocks-admin refresh cache", function()
         assert.is_true(run.luarocks_admin_bool("--server=testing refresh_cache"))
      end)
   end)
end)