From 0eb2a425f7657a094743c6b22669ced88b086378 Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Wed, 5 Feb 2020 11:01:05 -0800 Subject: [PATCH] Fixed filter-landmarks tests. --- src/test/lemondronor/circlebot_test.cljs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/lemondronor/circlebot_test.cljs b/src/test/lemondronor/circlebot_test.cljs index f022304..ebf9822 100644 --- a/src/test/lemondronor/circlebot_test.cljs +++ b/src/test/lemondronor/circlebot_test.cljs @@ -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"}}])))))