]> git.openstreetmap.org Git - rails.git/blob - test/models/report_test.rb
Merge branch 'master' into moderation
[rails.git] / test / models / report_test.rb
1 require "test_helper"
2
3 class ReportTest < ActiveSupport::TestCase
4   def test_details_required
5     report = create(:report)
6
7     assert report.valid?
8     report.details = ''
9     assert !report.valid?
10   end
11 end