aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-03-25 20:20:04 -0700
committerGravatar Tom Willemse2021-03-25 20:20:04 -0700
commitdd9fedf8ff6b587586369ca634109a62e7270f8e (patch)
tree3205f3f16388e18be7ac154ee1faf9e08ad090f4 /test
parent0e0f464a6573287831558a7a2372be314f21a81f (diff)
downloademacs-config-dd9fedf8ff6b587586369ca634109a62e7270f8e.tar.gz
emacs-config-dd9fedf8ff6b587586369ca634109a62e7270f8e.zip
Decouple ‘oni-org’ and ‘oni-org-roam’
‘org-roam’ doesn’t seem to work correctly on all the machines that I use ‘org-mode’ on.
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/oni-org-roam.bats11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/oni-org-roam.bats b/test/integration/oni-org-roam.bats
new file mode 100755
index 0000000..3cc6df2
--- /dev/null
+++ b/test/integration/oni-org-roam.bats
@@ -0,0 +1,11 @@
+#!/usr/bin/env bats
+
+@test "Loading org-roam also loads oni-org-roam" {
+ run emacs -batch -l package -f package-initialize \
+ -l org-roam \
+ -eval "(prin1 (featurep 'oni-org-roam))"
+
+ echo "$output"
+
+ [[ "$output" == *"t" ]]
+}