Sha256: 94d8c240f18025187933841a06c04fd74dc49858baade296b2f889727c421747

Contents?: true

Size: 836 Bytes

Versions: 266

Compression:

Stored size: 836 Bytes

Contents

require 'test_helper'

class I18nPluralizationApiTest < Test::Unit::TestCase
  class Backend < I18n::Backend::Simple
    include I18n::Backend::Pluralization
  end

  def setup
    I18n.backend = Backend.new
    super
  end

  include I18n::Tests::Basics
  include I18n::Tests::Defaults
  include I18n::Tests::Interpolation
  include I18n::Tests::Link
  include I18n::Tests::Lookup
  include I18n::Tests::Pluralization
  include I18n::Tests::Procs
  include I18n::Tests::Localization::Date
  include I18n::Tests::Localization::DateTime
  include I18n::Tests::Localization::Time
  include I18n::Tests::Localization::Procs

  test "make sure we use a backend with Pluralization included" do
    assert_equal Backend, I18n.backend.class
  end

  # links: test that keys stored on one backend can link to keys stored on another backend
end

Version data entries

266 entries across 236 versions & 47 rubygems

Version Path
logstash-output-scalyr-0.1.9 vendor/bundle/jruby/2.5.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-output-scalyr-0.1.8 vendor/bundle/jruby/2.5.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-output-scalyr-0.1.6 vendor/bundle/jruby/2.5.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-output-newrelic-1.2.0 vendor/bundle/jruby/2.5.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.5.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.5.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-output-scalyr-0.1.5 vendor/bundle/jruby/2.5.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-output-scalyr-0.1.4 vendor/bundle/jruby/2.5.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-output-scalyr-0.1.3 vendor/bundle/jruby/2.5.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-output-scalyr-0.1.2 vendor/bundle/jruby/2.5.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-filter-device_detection-1.0.7-java vendor/bundle/jruby/1.9/gems/i18n-0.6.9/test/api/pluralization_test.rb
mrcooper-logstash-output-azuresearch-0.2.2 vendor/jruby/2.5.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-output-icinga-1.1.0 vendor/jruby/2.3.0/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/i18n-0.6.9/test/api/pluralization_test.rb
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/i18n-0.6.9/test/api/pluralization_test.rb