diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a988f44..22a6a61 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -222,6 +222,13 @@ integration-test-oni-bookmark: - package script: make integration-test-oni-bookmark TEST_ARCHIVE=$(realpath bin/) +integration-test-oni-browse-url: + stage: integration-test + image: registry.gitlab.com/ryuslash/emacs-config + dependencies: + - package + script: make integration-test-oni-browse-url TEST_ARCHIVE=$(realpath bin/) + integration-test-oni-docker: stage: integration-test image: registry.gitlab.com/ryuslash/emacs-config diff --git a/test/integration/oni-browse-url.bats b/test/integration/oni-browse-url.bats new file mode 100644 index 0000000..74aa6ad --- /dev/null +++ b/test/integration/oni-browse-url.bats @@ -0,0 +1,11 @@ +#!/usr/bin/env bats + +@test "Loading browse-url loads oni-browse-url" { + run emacs -batch -l package -f package-initialize \ + -l browse-url \ + -eval "(prin1 (featurep 'oni-browse-url))" + + echo "$output" + + [ "$output" = "t" ] +}