Fork me on GitHub
Jacob Rosenzweig05:05:24

Do s/fdef specs get written out in the same file as the concrete function or is it usually kept in a test file in the test directory of a project?


I put them in the same file right above the function

👍 1
Jacob Rosenzweig05:05:02

And because of the registry system in specs, the definition you create can be referred to with its associated atom? That's basically my understanding right now.


@U02313K7TSL Not sure what you mean by “atom” there — s/fdef specs are referenced by a fully-qualified symbol which is the name of the function they apply to (`s/def` specs are referenced by a fully-qualified keyword).