Closed AI-Mozi closed 9 months ago
Do you prefer expect(subject).to be_kind_of(Ronin::Wordlists::...)
or to_be_kind_of(described_class)
(if true ofc)
@AI-Mozi use described_class
as much as possible, when possible (you can't use it in explicit class
es), to make it easy if we ever want to rename the class
/module
.
1