14 lines
316 B
Plaintext
14 lines
316 B
Plaintext
|
(let [{: capitalize
|
||
|
} (require :lib.string)
|
||
|
{: describe
|
||
|
: test-end} (require :lib.test)]
|
||
|
|
||
|
(describe "# STRING" (fn []
|
||
|
(describe "capitalize()" (fn [t]
|
||
|
(t {:given "a string"
|
||
|
:should "capitalize it"
|
||
|
:expected :Giraffe
|
||
|
:actual (capitalize :giraffe)})))
|
||
|
(test-end))))
|
||
|
|