Sha256: 0db5276f6bb117b64c412abab7247009b474a85aaa47e9afd801695251a75fb2
Contents?: true
Size: 360 Bytes
Versions: 8
Compression:
Stored size: 360 Bytes
Contents
require "helper" class Bender include Transitions state_machine do state :drinking state :smoking state :gambling end end class TestAvailableStatesListing < Test::Unit::TestCase test 'available_states should return the states for the state machine' do assert_equal [:drinking, :gambling, :smoking], Bender.available_states end end
Version data entries
8 entries across 8 versions & 1 rubygems