1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
Files
wrestlingdev.com/test/models/wrestler_test.rb

14 lines
330 B
Ruby

require 'test_helper'
class WrestlerTest < ActiveSupport::TestCase
test "the truth" do
assert true
end
test "Wrestler validations" do
wrestler = Wrestler.new
assert_not wrestler.valid?
assert_equal [:school, :weight, :name, :weight_id, :school_id], wrestler.errors.attribute_names
end
end