Forward-require dependencies in tests

Easier to see at a glance what the test's dependencies are.
This commit is contained in:
Henrik Lissner 2018-08-25 23:47:31 +02:00
parent 2aa509b36c
commit 469aa81570
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 13 additions and 14 deletions

View file

@ -2,13 +2,11 @@
;;; ../core/test/test-core-projects.el
(require 'core-projects)
(require 'projectile)
(describe "core/projects"
(before-all (require 'projectile))
(after-all (unload-feature 'projectile t))
(before-each (projectile-mode +1))
(after-each (projectile-mode -1))
(after-each (projectile-mode -1))
(describe "project-p"
(it "Should detect when in a valid project"