Sha256: 75a79dbd098c08e2624ceb37552f89d70e0269cc4485e78bdc72c44e57177edb

Contents?: true

Size: 432 Bytes

Versions: 25

Compression:

Stored size: 432 Bytes

Contents

require 'rails_helper'

Dir.glob('config/locales/*.yml') do |locale_file|
  describe locale_file do
    it { is_expected.to be_parseable }
    it { is_expected.to have_one_top_level_namespace }
    it { is_expected.to be_named_like_top_level_namespace }
    it { is_expected.to_not have_legacy_interpolations }
    it { is_expected.to have_a_valid_locale }
    it { is_expected.to be_a_subset_of 'config/locales/en.yml' }
  end
end

Version data entries

25 entries across 25 versions & 4 rubygems

Version Path
activeadmin_addons-1.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/unit/i18n_spec.rb
activeadmin_addons-1.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/unit/i18n_spec.rb
yousty-activeadmin-1.0.17.pre spec/unit/i18n_spec.rb
yousty-activeadmin-1.0.16.pre spec/unit/i18n_spec.rb
activeadmin_addons-1.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/unit/i18n_spec.rb
activeadmin_addons-1.0.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/unit/i18n_spec.rb
activeadmin_addons-1.0.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/unit/i18n_spec.rb
yousty-activeadmin-1.0.15.pre spec/unit/i18n_spec.rb
activeadmin-orac-1.0.0.pre4 spec/unit/i18n_spec.rb
activeadmin-orac-1.0.0 spec/unit/i18n_spec.rb
activeadmin-orac-1.0.0.pre.orac spec/unit/i18n_spec.rb
yousty-activeadmin-1.0.14.pre spec/unit/i18n_spec.rb
yousty-activeadmin-1.0.13.pre spec/unit/i18n_spec.rb
yousty-activeadmin-1.0.12.pre spec/unit/i18n_spec.rb
yousty-activeadmin-1.0.11.pre spec/unit/i18n_spec.rb
yousty-activeadmin-1.0.10.pre spec/unit/i18n_spec.rb
yousty-activeadmin-1.0.9.pre spec/unit/i18n_spec.rb
yousty-activeadmin-1.0.8.pre spec/unit/i18n_spec.rb
activeadmin-1.0.0.pre4 spec/unit/i18n_spec.rb
activeadmin-1.0.0.pre3 spec/unit/i18n_spec.rb