class StateAfterBeingCopiedTest
Public Instance Methods
setup()
click to toggle source
# File test/unit/state_test.rb, line 605 def setup @machine = StateMachine::Machine.new(Class.new) @machine.states << @state = StateMachine::State.new(@machine, :parked) @copied_state = @state.dup end
test_should_not_have_the_same_collection_of_methods()
click to toggle source
# File test/unit/state_test.rb, line 611 def test_should_not_have_the_same_collection_of_methods assert_not_same @state.methods, @copied_state.methods end