class AutoShopAvailableTest

Public Instance Methods

setup() click to toggle source
# File test/functional/state_machine_test.rb, line 954
def setup
  @auto_shop = AutoShop.new
end
test_should_allow_tow_vehicle() click to toggle source
# File test/functional/state_machine_test.rb, line 962
def test_should_allow_tow_vehicle
  assert @auto_shop.tow_vehicle
end
test_should_be_in_available_state() click to toggle source
# File test/functional/state_machine_test.rb, line 958
def test_should_be_in_available_state
  assert_equal 'available', @auto_shop.state
end
test_should_not_allow_fix_vehicle() click to toggle source
# File test/functional/state_machine_test.rb, line 966
def test_should_not_allow_fix_vehicle
  assert !@auto_shop.fix_vehicle
end