Sha256: 051df94067e817037ac54085a9e58a38bd0c5bbf75c2589d97ca7b5444bbfac8
Contents?: true
Size: 401 Bytes
Versions: 14
Compression:
Stored size: 401 Bytes
Contents
require_relative '../test_helper' require_relative '../files/models/traffic_light' class TrafficLightCautionTest < MiniTest::Test def setup @light = TrafficLight.new @light.state = 'caution' end def test_should_use_caution_color assert_equal 'yellow', @light.color end def test_should_use_caution_capture_violations assert_equal true, @light.capture_violations? end end
Version data entries
14 entries across 14 versions & 2 rubygems