Use lazy lookups for translations in issues
[rails.git] / test / system / report_diary_comment_test.rb
index 8b709195d81c12745270d4d112766b7741655ac5..05b76f695aeb6eaf230397b69567cf83b8d288f7 100644 (file)
@@ -21,9 +21,9 @@ class ReportDiaryCommentTest < ApplicationSystemTestCase
 
     click_on I18n.t("diary_entry.diary_comment.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_comment.spam")
+    choose I18n.t("reports.new.categories.diary_comment.spam")
     fill_in "report_details", :with => "This comment is spam"
     click_on "Create Report"