Sha256: 89a6ac36166490b7db359d530a481c6a3ccbe072eabc46e432a91b731121b30f
Contents?: true
Size: 370 Bytes
Versions: 14
Compression:
Stored size: 370 Bytes
Contents
require_relative '../../test_helper' class EventWithHumanNameTest < StateMachinesTest def setup @klass = Class.new @machine = StateMachines::Machine.new(@klass) @machine.events << @event = StateMachines::Event.new(@machine, :ignite, human_name: 'start') end def test_should_use_custom_human_name assert_equal 'start', @event.human_name end end
Version data entries
14 entries across 14 versions & 2 rubygems