module Spectator::Mocks::Stubbable::Automatic

Overview

When included, automatically redefines all methods to be stubbable. Any newly defined instance methods will have stub functionality added to them.

NOTE Class methods defined after this module is included will not have stub functionality added. As a workaround, use the stub keyword before the class method definition.

Included Modules

Direct including types

Defined in:

spectator/mocks/stubbable/automatic.cr

Macros inherited from module Spectator::Mocks::Stubbable

stub(method) stub