Sha256: 5391bfe3eb0efdb558be9a739f87cf6d3bf3da60bc250401a935ab802ffe1ad3

Contents?: true

Size: 444 Bytes

Versions: 57

Compression:

Stored size: 444 Bytes

Contents

shared_examples_for 'my valid locale file' do
  let(:local_file) { 'config/locales/app/en.yml' }

  subject { locale_file }

  it { should be_parseable }
  it { should have_a_valid_locale }

  # it { should have_valid_pluralization_keys }
  # it { should_not have_missing_pluralization_keys }
  # it { should have_one_top_level_namespace }
  # it { should be_named_like_top_level_namespace }
  # it { should_not have_legacy_interpolations }
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
locomotivecms_steam-1.8.0.alpha2 spec/support/examples/locale_file.rb
locomotivecms_steam-1.8.0.alpha1 spec/support/examples/locale_file.rb
locomotivecms_steam-1.7.1 spec/support/examples/locale_file.rb
locomotivecms_steam-1.7.0 spec/support/examples/locale_file.rb
locomotivecms_steam-1.6.1 spec/support/examples/locale_file.rb
locomotivecms_steam-1.6.0 spec/support/examples/locale_file.rb
locomotivecms_steam-1.6.0.rc1 spec/support/examples/locale_file.rb
locomotivecms_steam-1.6.0.beta1 spec/support/examples/locale_file.rb
locomotivecms_steam-1.5.3 spec/support/examples/locale_file.rb
locomotivecms_steam-1.5.2 spec/support/examples/locale_file.rb
locomotivecms_steam-1.5.1 spec/support/examples/locale_file.rb
locomotivecms_steam-1.5.0 spec/support/examples/locale_file.rb
locomotivecms_steam-1.5.0.rc1 spec/support/examples/locale_file.rb
locomotivecms_steam-1.5.0.rc0 spec/support/examples/locale_file.rb
locomotivecms_steam-1.5.0.beta3 spec/support/examples/locale_file.rb
locomotivecms_steam-1.5.0.beta2 spec/support/examples/locale_file.rb
locomotivecms_steam-1.5.0.beta1 spec/support/examples/locale_file.rb
locomotivecms_steam-1.4.1 spec/support/examples/locale_file.rb
locomotivecms_steam-1.4.0 spec/support/examples/locale_file.rb
locomotivecms_steam-1.4.0.rc2 spec/support/examples/locale_file.rb