Sha256: ca98f1cd9bdbfd04d185a0066694471e781c8a97d17d0516302701438719f74a

Contents?: true

Size: 164 Bytes

Versions: 2

Compression:

Stored size: 164 Bytes

Contents

RSpec::Matchers.define :have_a_valid_locale do
  match do |actual|
    locale_file = I18nSpec::LocaleFile.new(actual)
    locale_file.has_a_valid_locale?
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
i18n-spec-0.2.4 lib/i18n-spec/matchers/have_a_valid_locale_matcher.rb
i18n-spec-0.2.3 lib/i18n-spec/matchers/have_a_valid_locale_matcher.rb