From 17ea449df19ae0ea143a8a66da0ffbc13749b44f Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Sat, 8 Nov 2014 20:33:57 +0100 Subject: [PATCH] replacing invalid locale in spec --- spec/models/custom_field_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/custom_field_spec.rb b/spec/models/custom_field_spec.rb index 2c24b1e363..4c431028f5 100644 --- a/spec/models/custom_field_spec.rb +++ b/spec/models/custom_field_spec.rb @@ -327,8 +327,8 @@ describe CustomField, type: :model do field.translations_attributes = { '0' => { 'name' => 'name_en', 'default_value' => '1', 'locale' => 'en' }, - '1' => { 'name' => 'name_es', - 'locale' => 'es' } } + '1' => { 'name' => 'name_de', + 'locale' => 'de' } } field.is_required = true end