Sha256: 235203ae12dcba5b1d819335114525391c11307f2a32021f2d6484079d22a916
Contents?: true
Size: 312 Bytes
Versions: 14
Compression:
Stored size: 312 Bytes
Contents
require_relative '../../test_helper' class CallbackWithoutTerminatorTest < StateMachinesTest def setup @object = Object.new end def test_should_not_halt_if_result_is_false callback = StateMachines::Callback.new(:before, do: lambda { false }, terminator: nil) callback.call(@object) end end
Version data entries
14 entries across 14 versions & 2 rubygems