1 2 3 4 5 6 7 8 9
require 'test_helper' class PhoneModelTest < ActiveSupport::TestCase def test_should_have_a_valid_factory assert Factory.build(:phone_model).valid? end end