1
0
Fork 0

Add integration test for oni-browse-url

This commit is contained in:
Tom Willemse 2020-01-13 18:02:41 -08:00
parent 28e10b8e89
commit dbf4798b1a
2 changed files with 18 additions and 0 deletions

View file

@ -222,6 +222,13 @@ integration-test-oni-bookmark:
- package - package
script: make integration-test-oni-bookmark TEST_ARCHIVE=$(realpath bin/) 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: integration-test-oni-docker:
stage: integration-test stage: integration-test
image: registry.gitlab.com/ryuslash/emacs-config image: registry.gitlab.com/ryuslash/emacs-config

View file

@ -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" ]
}