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

test_env.unload_luarocks()

describe("LuaRocks refresh_cache tests #blackbox #b_refresh_cache", 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)