spec/i18n_tasks_spec.rb in i18n-tasks-0.0.5 vs spec/i18n_tasks_spec.rb in i18n-tasks-0.0.6
- old
+ new
@@ -44,11 +44,12 @@
fs = {
'config/locales/en.yml' => {'en' => en_data}.to_yaml,
'config/locales/es.yml' => {'es' => es_data}.to_yaml,
'.i18nignore' => <<-TEXT,
- ignored_missing_key.a # one key to ignore
- ignored_pattern. # ignore the whole pattern
+ ignored_missing_key.a # one key to ignore
+
+ ignored_pattern. # ignore the whole pattern
TEXT
'app/views/index.html.slim' => <<-SLIM,
p \#{t('ca.a')} \#{t 'ca.b'} \#{t "ca.c"}
p \#{t 'ca.d'} \#{t 'ca.f', i: 'world'} \#{t 'ca.e', i: 'world'}
p \#{t 'missing_in_es.a'} \#{t 'same_in_es.a'} \#{t 'blank_in_es.a'}