class TransitionCollectionByDefaultTest

Public Instance Methods

setup() click to toggle source
# File test/unit/transition_collection_test.rb, line 29
def setup
  @transitions = StateMachine::TransitionCollection.new
end
test_should_be_empty() click to toggle source
# File test/unit/transition_collection_test.rb, line 45
def test_should_be_empty
  assert @transitions.empty?
end
test_should_not_skip_actions() click to toggle source
# File test/unit/transition_collection_test.rb, line 33
def test_should_not_skip_actions
  assert !@transitions.skip_actions
end
test_should_not_skip_after() click to toggle source
# File test/unit/transition_collection_test.rb, line 37
def test_should_not_skip_after
  assert !@transitions.skip_after
end
test_should_use_transaction() click to toggle source
# File test/unit/transition_collection_test.rb, line 41
def test_should_use_transaction
  assert @transitions.use_transaction
end