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:
parent
93690ee830
commit
31a60c252e
@ -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>'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user