1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-10 01:21:32 +00:00

Set en locale in test (#18679).

git-svn-id: http://svn.redmine.org/redmine/trunk@13789 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-12-21 21:24:46 +00:00
parent 93690ee830
commit 31a60c252e

View File

@ -20,6 +20,7 @@ require File.expand_path('../../../../../test_helper', __FILE__)
class Redmine::Views::LabelledFormBuilderTest < ActionView::TestCase
def test_label_should_output_one_element
set_language_if_valid 'en'
labelled_form_for(Issue.new) do |f|
output = f.label :subject
assert_equal output, '<label for="issue_subject">Subject</label>'