mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
14 lines
287 B
Ruby
14 lines
287 B
Ruby
require 'test_helper'
|
|
|
|
class WeightTest < ActiveSupport::TestCase
|
|
test "the truth" do
|
|
assert true
|
|
end
|
|
|
|
test "Weight validations" do
|
|
weight = Weight.new
|
|
assert_not weight.valid?
|
|
assert_equal [:tournament, :max], weight.errors.attribute_names
|
|
end
|
|
end
|