mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
14 lines
275 B
Ruby
14 lines
275 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
|