Sha256: 2b9a20e451b9795ba5c57a1bc2e67f477e3521ab3d0e38b07453b28002fec635

Contents?: true

Size: 824 Bytes

Versions: 266

Compression:

Stored size: 824 Bytes

Contents

require 'test_helper'

class I18nFallbacksApiTest < Test::Unit::TestCase
  class Backend < I18n::Backend::Simple
    include I18n::Backend::Fallbacks
  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 Fallbacks 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
able-neo4j-1.0.0 vendor/bundle/jruby/1.9/gems/i18n-0.6.9/test/api/fallbacks_test.rb
logstash-input-beats-2.0.2 vendor/jruby/1.9/gems/i18n-0.6.9/test/api/fallbacks_test.rb
logstash-input-beats-2.0.2 vendor/jruby/1.9/gems/logstash-codec-json-2.0.3/vendor/gems/i18n-0.6.9/test/api/fallbacks_test.rb
logstash-codec-json-2.0.3 vendor/gems/i18n-0.6.9/test/api/fallbacks_test.rb
logstash-input-beats-0.9.2 vendor/jruby/1.9/gems/i18n-0.6.9/test/api/fallbacks_test.rb
logstash-input-beats-0.9.1 vendor/jruby/1.9/gems/i18n-0.6.9/test/api/fallbacks_test.rb
classiccms-0.7.5 vendor/bundle/gems/i18n-0.6.0/test/api/fallbacks_test.rb
classiccms-0.7.4 vendor/bundle/gems/i18n-0.6.0/test/api/fallbacks_test.rb
classiccms-0.7.3 vendor/bundle/gems/i18n-0.6.0/test/api/fallbacks_test.rb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/api/fallbacks_test.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/i18n-0.6.2/test/api/fallbacks_test.rb
apl-library-0.0.90 vendor/bundle/ruby/1.8/gems/i18n-0.6.9/test/api/fallbacks_test.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.8/gems/i18n-0.6.9/test/api/fallbacks_test.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.9/test/api/fallbacks_test.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/i18n-0.6.9/test/api/fallbacks_test.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/gems/i18n-0.6.9/test/api/fallbacks_test.rb
whos_dated_who-0.1.0 vendor/bundle/gems/i18n-0.6.9/test/api/fallbacks_test.rb
whos_dated_who-0.0.1 vendor/bundle/gems/i18n-0.6.9/test/api/fallbacks_test.rb
i18n-0.5.4 test/api/fallbacks_test.rb
i18n-0.6.9 test/api/fallbacks_test.rb