X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/85bf9adb91df1944560d5a81a21fec4201d8d722..2fc70be734fb6439b1eef340d396af62965817df:/test/system/report_diary_entry_test.rb diff --git a/test/system/report_diary_entry_test.rb b/test/system/report_diary_entry_test.rb index 3be8b3fd7..e9262388a 100644 --- a/test/system/report_diary_entry_test.rb +++ b/test/system/report_diary_entry_test.rb @@ -49,4 +49,10 @@ class ReportDiaryEntryTest < ApplicationSystemTestCase assert !issue.resolved? assert issue.open? end + + def test_missing_report_params + sign_in_as(create(:user)) + visit new_report_path + assert page.has_content? I18n.t("reports.new.missing_params") + end end