Sha256: 92faa230493a6fbf5cebcebb95dc0a66af88480885cebc6f27202fd86e58c50a
Contents?: true
Size: 310 Bytes
Versions: 35
Compression:
Stored size: 310 Bytes
Contents
require_relative 'test_helper' class MachineWithStatesTest < BaseTestCase def setup @model = new_model @machine = StateMachines::Machine.new(@model) @machine.state :first_gear end def test_should_humanize_name assert_equal 'first gear', @machine.state(:first_gear).human_name end end
Version data entries
35 entries across 32 versions & 3 rubygems