Fixed filter-landmarks tests.
This commit is contained in:
parent
8e88b8771f
commit
0eb2a425f7
@ -161,13 +161,13 @@
|
|||||||
|
|
||||||
(deftest filter-landmarks
|
(deftest filter-landmarks
|
||||||
(testing "filter-landmarks"
|
(testing "filter-landmarks"
|
||||||
(let [landmarks [{:features {:name "Johnny Depp"}}
|
(let [landmarks [{:properties {:name "Johnny Depp"}}
|
||||||
{:features {:name "Musso & Frank's"}}
|
{:properties {:name "Musso & Frank's"}}
|
||||||
{:features {:name "Johnny Depp's Star"}}]]
|
{:properties {:name "Johnny Depp's Star"}}]]
|
||||||
(is (= (circlebot/filter-landmarks {:blocklist ["Johnny Depp"]}
|
(is (= (circlebot/filter-landmarks {:blocklist ["Johnny Depp"]}
|
||||||
landmarks)
|
landmarks)
|
||||||
[{:features {:name "Musso & Frank's"}}]))
|
[{:properties {:name "Musso & Frank's"}}]))
|
||||||
(is (= (circlebot/filter-landmarks {:blocklist ["Frank"]}
|
(is (= (circlebot/filter-landmarks {:blocklist ["Frank"]}
|
||||||
landmarks)
|
landmarks)
|
||||||
[{:features {:name "Johnny Depp"}}
|
[{:properties {:name "Johnny Depp"}}
|
||||||
{:features {:name "Johnny Depp's Star"}}])))))
|
{:properties {:name "Johnny Depp's Star"}}])))))
|
||||||
|
Loading…
Reference in New Issue
Block a user