Sha256: 59411c07f3ce1eb98ef4688a3e3606ba94a68763483c18d1c444bc26fa3f1b5c

Contents?: true

Size: 194 Bytes

Versions: 9

Compression:

Stored size: 194 Bytes

Contents

RSpec::Matchers.define :have_valid_pluralization_keys do |expected|
  match do |actual|
    locale_file = I18nSpec::LocaleFile.new(actual)
    locale_file.has_valid_pluralization_keys?
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
i18n-spec-0.0.9 lib/i18n-spec/matchers/have_valid_pluralization_keys_matcher.rb
i18n-spec-0.0.8 lib/i18n-spec/matchers/have_valid_pluralization_keys_matcher.rb
i18n-spec-0.0.7 lib/i18n-spec/matchers/have_valid_pluralization_keys_matcher.rb
i18n-spec-0.0.6 lib/i18n-spec/matchers/have_valid_pluralization_keys_matcher.rb
i18n-spec-0.0.5 lib/i18n-spec/matchers/have_valid_pluralization_keys_matcher.rb
i18n-spec-0.0.4 lib/i18n-spec/matchers/have_valid_pluralization_keys_matcher.rb
i18n-spec-0.0.3 lib/i18n-spec/matchers/have_valid_pluralization_keys_matcher.rb
i18n-spec-0.0.2 lib/i18n-spec/matchers/have_valid_pluralization_keys_matcher.rb
i18n-spec-0.0.1 lib/i18n-spec/matchers/have_valid_pluralization_keys_matcher.rb