1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-04 22:03:49 +00:00

Upgraded to rails 8.0.2

This commit is contained in:
2025-10-08 11:35:44 -04:00
parent bbd2bd9b44
commit 34f1783031
10 changed files with 80 additions and 92 deletions

View File

@@ -8,7 +8,7 @@ class WrestlerTest < ActiveSupport::TestCase
test "Wrestler validations" do
wrestler = Wrestler.new
assert_not wrestler.valid?
assert_equal [:name, :weight_id, :school_id], wrestler.errors.attribute_names
assert_equal [:school, :weight, :name, :weight_id, :school_id], wrestler.errors.attribute_names
end
end