aboutsummaryrefslogtreecommitdiff
path: root/spec/refresh_cache_spec.lua
blob: ef8c3a12b714aed0c69adba25074b30c5f67afe8 (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")

test_env.unload_luarocks()

expose("LuaRocks refresh_cache tests #blackbox #b_refresh_cache", function()
	
   before_each(function()
      test_env.setup_specs(extra_rocks)
      run = test_env.run
   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)