1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-02 21:24:25 +00:00
Files
wrestlingdev.com/test/models/tournament_test.rb
2015-12-30 18:48:49 +00:00

14 lines
280 B
Ruby

require 'test_helper'
class TournamentTest < ActiveSupport::TestCase
test "the truth" do
assert true
end
test "Tournament needs a date" do
tourney = Tournament.new
assert_not tourney.valid?
assert_equal [:date], tourney.errors.keys
end
end