Method: Beaker::CommandFactory#assertions
- Defined in:
-
lib/beaker/command_factory.rb,
lib/beaker/command_factory.rb
Why do we need this accessor? github.com/seattlerb/minitest/blob/master/lib/minitest/assertions.rb#L8-L12 Protocol: Nearly everything here boils up to assert, which expects to be able to increment an instance accessor named assertions. This is not provided by Assertions and must be provided by the thing including Assertions. See Minitest::Runnable for an example.
13 14 15 |
# File 'lib/beaker/command_factory.rb', line 13 def assertions @assertions end |