mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-01 20:25:26 +00:00
Fixed deprecations for rails 6.1 and 6.2
This commit is contained in:
@@ -8,6 +8,6 @@ class WeightTest < ActiveSupport::TestCase
|
||||
test "Weight validations" do
|
||||
weight = Weight.new
|
||||
assert_not weight.valid?
|
||||
assert_equal [:max], weight.errors.keys
|
||||
assert_equal [:max], weight.errors.attribute_names
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user