3 class ReportTest < ActiveSupport::TestCase
4 def test_issue_required
5 report = create(:report)
9 assert_not report.valid?
12 def test_user_required
13 report = create(:report)
17 assert_not report.valid?
20 def test_details_required
21 report = create(:report)
25 assert_not report.valid?
28 def test_category_required
29 report = create(:report)
33 assert_not report.valid?