class TrafficLightProceedTest

Public Instance Methods

setup() click to toggle source
# File test/functional/state_machine_test.rb, line 1019
def setup
  @light = TrafficLight.new
  @light.state = 'proceed'
end
test_should_use_proceed_capture_violations() click to toggle source
# File test/functional/state_machine_test.rb, line 1028
def test_should_use_proceed_capture_violations
  assert_equal false, @light.capture_violations?
end
test_should_use_proceed_color() click to toggle source
# File test/functional/state_machine_test.rb, line 1024
def test_should_use_proceed_color
  assert_equal 'green', @light.color
end