mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-03 13:30:02 +00:00
config.load_defaults is now 7.1 and I had to add optional belongs to to a couple models as a deprecation from the 4.2 to 5.0 upgrade
This commit is contained in:
@@ -8,6 +8,6 @@ class SchoolTest < ActiveSupport::TestCase
|
||||
test "School validations" do
|
||||
school = School.new
|
||||
assert_not school.valid?
|
||||
assert_equal [:name], school.errors.attribute_names
|
||||
assert_equal [:tournament,:name], school.errors.attribute_names
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user