Use lazy lookups for translations in issues
[rails.git] / test / system / report_diary_entry_test.rb
index 570fbb1de59503fc0f9c5c6b7085292d0d80bc65..86d301e3c5edfca2a157e0f15a742bbdc0148fae 100644 (file)
@@ -20,9 +20,9 @@ class ReportDiaryEntryTest < ApplicationSystemTestCase
 
     click_on I18n.t("diary_entry.diary_entry.report")
     assert page.has_content? "Report"
-    assert page.has_content? I18n.t("issues.new.disclaimer.intro")
+    assert page.has_content? I18n.t("reports.new.disclaimer.intro")
 
-    choose I18n.t("reports.categories.diary_entry.spam")
+    choose I18n.t("reports.new.categories.diary_entry.spam")
     fill_in "report_details", :with => "This is advertising"
     click_on "Create Report"
 
@@ -39,9 +39,9 @@ class ReportDiaryEntryTest < ApplicationSystemTestCase
 
     click_on I18n.t("diary_entry.diary_entry.report")
     assert page.has_content? "Report"
-    assert page.has_content? I18n.t("issues.new.disclaimer.intro")
+    assert page.has_content? I18n.t("reports.new.disclaimer.intro")
 
-    choose I18n.t("reports.categories.diary_entry.spam")
+    choose I18n.t("reports.new.categories.diary_entry.spam")
     fill_in "report_details", :with => "This is advertising"
     click_on "Create Report"