fix test
This commit is contained in:
parent
5330124428
commit
16984044d2
1 changed files with 7 additions and 5 deletions
|
@ -38,11 +38,13 @@
|
|||
(sut/create-resource "dummy" (sut/path-if-exists fs-root "dummy")))))))
|
||||
|
||||
(deftest test-get-resources
|
||||
;(is
|
||||
; (= [{:virtual-path "dummy" :source-type :filesystem :resource-type :dir}
|
||||
; {:virtual-path "dummy/dummy_from_fs" :source-type :filesystem :resource-type :file}]
|
||||
; (map ftt/filter-object
|
||||
; (sut/get-resources fs-root "" ["dummy"]))))
|
||||
(is
|
||||
(= [{:virtual-path "dummy" :source-type :filesystem :resource-type :dir}
|
||||
{:virtual-path "dummy/dummy_from_fs" :source-type :filesystem :resource-type :file}
|
||||
{:virtual-path "dummy/dummy2" :source-type :filesystem :resource-type :dir}
|
||||
{:virtual-path "dummy/dummy2/dummy_common" :source-type :filesystem :resource-type :file}]
|
||||
(map ftt/filter-object
|
||||
(sut/get-resources fs-root "" ["dummy"]))))
|
||||
(is
|
||||
(= [{:virtual-path "dummy_from_fs" :source-type :filesystem :resource-type :file}]
|
||||
(map ftt/filter-object
|
||||
|
|
Loading…
Reference in a new issue