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