Add integration test for oni-browse-url
This commit is contained in:
parent
28e10b8e89
commit
dbf4798b1a
2 changed files with 18 additions and 0 deletions
|
@ -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
|
||||||
|
|
11
test/integration/oni-browse-url.bats
Normal file
11
test/integration/oni-browse-url.bats
Normal 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" ]
|
||||||
|
}
|
Loading…
Reference in a new issue