aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Pogonyshev <pogonyshev@gmail.com>2020-06-15 22:50:24 +0200
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2020-06-16 00:01:43 +0300
commit2715a732cbeeb8a21460aabc6532fb6602f28504 (patch)
tree8fe237b0953fbfed1097c8b6b956b87330c50394 /test
parent972cc7d9b48d5c453a0640965f6693957f332fce (diff)
Add emacs-eldev project type
Diffstat (limited to 'test')
-rw-r--r--test/projectile-test.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/projectile-test.el b/test/projectile-test.el
index 6cafe79..a4f4935 100644
--- a/test/projectile-test.el
+++ b/test/projectile-test.el
@@ -980,7 +980,16 @@ You'd normally combine this with `projectile-test-with-sandbox'."
"project/package.json")
(let ((projectile-indexing-method 'native))
(spy-on 'projectile-project-root :and-return-value (file-truename (expand-file-name "project/")))
- (expect (projectile-detect-project-type) :to-equal 'rails-rspec))))))
+ (expect (projectile-detect-project-type) :to-equal 'rails-rspec)))))
+ (it "detects project-type for elisp eldev projects"
+ (projectile-test-with-sandbox
+ (projectile-test-with-files
+ ("project/"
+ "project/Eldev"
+ "project/project.el")
+ (let ((projectile-indexing-method 'native))
+ (spy-on 'projectile-project-root :and-return-value (file-truename (expand-file-name "project/")))
+ (expect (projectile-detect-project-type) :to-equal 'emacs-eldev))))))
(describe "projectile-dirname-matching-count"
(it "counts matching dirnames ascending file paths"