]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/report_diary_entry_test.rb
Store the report category.
[rails.git] / test / system / report_diary_entry_test.rb
index 36cd3603053de80f392d2b92d9d352a3ccc078bc..bf8d82986590e0bb3c4f14f48928e59093ebd75a 100644 (file)
@@ -22,7 +22,7 @@ class ReportDiaryEntryTest < ApplicationSystemTestCase
     assert page.has_content? "Report"
     assert page.has_content? I18n.t("issues.new.disclaimer.intro")
 
-    choose "report_type__SPAM" # FIXME: use label text when the radio button labels are working
+    choose I18n.t("reports.categories.DiaryEntry.spam")
     fill_in "report_details", :with => "This is advertising"
     click_on "Save changes"