class TransitionCollectionWithActionHookErrorTest
Public Instance Methods
save()
click to toggle source
# File test/unit/transition_collection_test.rb, line 1481 def save raise ArgumentError end
setup()
click to toggle source
Calls superclass method
TransitionCollectionWithActionHookBaseTest#setup
# File test/unit/transition_collection_test.rb, line 1477 def setup super @superclass.class_eval do def save raise ArgumentError end end begin; StateMachine::TransitionCollection.new([@transition]).perform; rescue; end end
test_should_not_write_event()
click to toggle source
# File test/unit/transition_collection_test.rb, line 1489 def test_should_not_write_event assert_nil @object.state_event end
test_should_not_write_event_transition()
click to toggle source
# File test/unit/transition_collection_test.rb, line 1493 def test_should_not_write_event_transition assert_nil @object.send(:state_event_transition) end