Use underscore versions of model names for translation keys.

This commit is contained in:
Andy Allan 2018-03-14 12:12:24 +08:00
parent 0737c4f169
commit 36970bcf50
4 changed files with 8 additions and 8 deletions

View file

@ -18,7 +18,7 @@ class ReportAnonymousNoteTest < ApplicationSystemTestCase
assert page.has_content? "Report"
assert page.has_content? I18n.t("issues.new.disclaimer.intro")
choose I18n.t("reports.categories.Note.spam")
choose I18n.t("reports.categories.note.spam")
fill_in "report_details", :with => "This is spam"
click_on "Create Report"