Sha256: abaca27b38646221794993c8dec9c58b253c874d063ba2856fd09b65c8d50981
Contents?: true
Size: 491 Bytes
Versions: 14
Compression:
Stored size: 491 Bytes
Contents
require_relative '../test_helper' require_relative '../files/models/vehicle' class VehicleTest < MiniTest::Test def setup @vehicle = Vehicle.new end def test_should_not_allow_access_to_subclass_events refute @vehicle.respond_to?(:reverse) end def test_should_have_human_state_names assert_equal 'parked', Vehicle.human_state_name(:parked) end def test_should_have_human_state_event_names assert_equal 'park', Vehicle.human_state_event_name(:park) end end
Version data entries
14 entries across 14 versions & 2 rubygems