1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-24 17:04:43 +00:00
Files
wrestlingdev.com/test/models/school_test.rb

15 lines
285 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 [:tournament, :name], school.errors.attribute_names
end
end