(R)Spec Conventions
Some spec conventions on OFN, mostly outputs from code review
around
,before
andafter
blocks go before theit
block. These belong together and makes it easier to understand in which conditions the examples are ran.
- We should not use
I18n.t("key")
on specs but rather use the string it refers to on specs, instead.
- Global methods are usually not a good idea: one should include
private
/def
blocks within the respectivedescribe / context
blocks.
Last modified 9mo ago