mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
15 lines
272 B
Ruby
15 lines
272 B
Ruby
require 'test_helper'
|
|
|
|
class SchoolTest < ActiveSupport::TestCase
|
|
# test "the truth" do
|
|
# assert true
|
|
# end
|
|
|
|
test "School validations" do
|
|
school = School.new
|
|
assert_not school.valid?
|
|
assert_equal [:name], school.errors.attribute_names
|
|
end
|
|
|
|
end
|