diff --git a/lib/i18n-spec/models/locale_file.rb b/lib/i18n-spec/models/locale_file.rb index 13a8dd4..2170b59 100644 --- a/lib/i18n-spec/models/locale_file.rb +++ b/lib/i18n-spec/models/locale_file.rb @@ -106,7 +106,7 @@ def pluralization_data?(data) def yaml_load_content if defined?(Psych) and defined?(Psych::VERSION) - Psych.load(content) + Psych.load(content, aliases: true) else YAML.load(content) end