summaryrefslogtreecommitdiff
path: root/test/clarktown/renderers/horizontal_line_block_test.clj
blob: db726820007d3b0365524a59b935d7c682d102e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(ns clarktown.renderers.horizontal-line-block-test
  (:require
    [clojure.test :refer [deftest testing is]]
    [clarktown.renderers.horizontal-line-block :as horizontal-line-block]))


(deftest horizontal-line-block-renderer-test
  (testing "Creating a horizontal line"
    (is (= (horizontal-line-block/render "***" nil)
           "<hr>"))

    (is (= (horizontal-line-block/render "---" nil)
           "<hr>"))))