diff --git a/test/integration/oni-bookmark.bats b/test/integration/oni-bookmark.bats new file mode 100644 index 0000000..0c6faac --- /dev/null +++ b/test/integration/oni-bookmark.bats @@ -0,0 +1,9 @@ +#!/usr/bin/env bats + +@test "Loading bookmark loads oni-bookmark" { + run emacs -batch -l package -f package-initialize \ + -l bookmark \ + -eval "(prin1 (featurep 'oni-bookmark))" + + [ "$output" = "t" ] +} diff --git a/test/oni-bookmark-test.el b/test/oni-bookmark-test.el index 32d0c77..5ccbbbb 100644 --- a/test/oni-bookmark-test.el +++ b/test/oni-bookmark-test.el @@ -2,8 +2,3 @@ "Test that oni-bookarks works." (require 'bookmark) (should (string-match "/data/" bookmark-default-file))) - -(ert-deftest oni-bookmark-test-autoloads () - "Test that `oni-bookmark' gets loaded automatically." - (require 'bookmark) - (should (featurep 'oni-bookmark)))