]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/report_diary_entry_test.rb
Use underscore versions of model names for translation keys.
[rails.git] / test / system / report_diary_entry_test.rb
index 988bfbe1f095cc450088d09946c64ac30941efbe..3be8b3fd7b65ce49da0cfdeee200b8c3655cb54b 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 I18n.t("reports.categories.DiaryEntry.spam")
+    choose I18n.t("reports.categories.diary_entry.spam")
     fill_in "report_details", :with => "This is advertising"
     click_on "Create Report"
 
@@ -41,7 +41,7 @@ class ReportDiaryEntryTest < ApplicationSystemTestCase
     assert page.has_content? "Report"
     assert page.has_content? I18n.t("issues.new.disclaimer.intro")
 
-    choose I18n.t("reports.categories.DiaryEntry.spam")
+    choose I18n.t("reports.categories.diary_entry.spam")
     fill_in "report_details", :with => "This is advertising"
     click_on "Create Report"