|
(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))))
|
|
|