summaryrefslogtreecommitdiff
path: root/spec/refresh_cache_spec.lua
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2025-02-03 21:29:42 +0100
committerMike Vink <mike@pionative.com>2025-02-03 21:29:42 +0100
commit5155816b7b925dec5d5feb1568b1d7ceb00938b9 (patch)
treedeca28ea15e79f6f804c3d90d2ba757881638af5 /spec/refresh_cache_spec.lua
fetch tarballHEADmaster
Diffstat (limited to 'spec/refresh_cache_spec.lua')
-rw-r--r--spec/refresh_cache_spec.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/refresh_cache_spec.lua b/spec/refresh_cache_spec.lua
new file mode 100644
index 0000000..73ba9a9
--- /dev/null
+++ b/spec/refresh_cache_spec.lua
@@ -0,0 +1,13 @@
+local test_env = require("spec.util.test_env")
+local run = test_env.run
+
+describe("luarocks-admin refresh_cache #integration", function()
+
+ before_each(function()
+ test_env.setup_specs()
+ end)
+
+ it("runs #ssh", function()
+ assert.is_true(run.luarocks_admin_bool("--server=testing refresh_cache"))
+ end)
+end)