From: Jean-Philippe Lang Date: Sun, 25 Oct 2015 09:05:39 +0000 (+0000) Subject: Set locale in tests (#21060). X-Git-Tag: 3.2.0~121 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=68c192064a803317b8a859d1829439d238e1d9ee;p=redmine.git Set locale in tests (#21060). git-svn-id: http://svn.redmine.org/redmine/trunk@14748 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/lib/redmine/field_format/enumeration_format_test.rb b/test/unit/lib/redmine/field_format/enumeration_format_test.rb index 961957ff8..bdc7e2cf8 100644 --- a/test/unit/lib/redmine/field_format/enumeration_format_test.rb +++ b/test/unit/lib/redmine/field_format/enumeration_format_test.rb @@ -22,6 +22,7 @@ class Redmine::EnumerationFieldFormatTest < ActionView::TestCase include ApplicationHelper def setup + set_language_if_valid 'en' @field = IssueCustomField.create!(:name => 'List', :field_format => 'enumeration', :is_required => false) @foo = CustomFieldEnumeration.new(:name => 'Foo') @bar = CustomFieldEnumeration.new(:name => 'Bar')