summaryrefslogtreecommitdiff
path: root/spec/quick/doc.q
diff options
context:
space:
mode:
Diffstat (limited to 'spec/quick/doc.q')
-rw-r--r--spec/quick/doc.q13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/quick/doc.q b/spec/quick/doc.q
new file mode 100644
index 0000000..4c71f83
--- /dev/null
+++ b/spec/quick/doc.q
@@ -0,0 +1,13 @@
+SUITE: luarocks doc
+
+================================================================================
+TEST: --local
+
+RUN: luarocks install --local --only-server=%{fixtures_dir}/a_repo a_rock
+
+RUN: luarocks doc a_rock --local
+
+STDOUT:
+--------------------------------------------------------------------------------
+opening http://www.example.com
+--------------------------------------------------------------------------------