Sha256: 8c6147fa29b78481adc1aacad25ae293667c1a90262bd43e6b8636d4eb900fc5

Contents?: true

Size: 720 Bytes

Versions: 116

Compression:

Stored size: 720 Bytes

Contents

require 'test_helper'

class I18nCascadeApiTest < I18n::TestCase
  class Backend < I18n::Backend::Simple
    include I18n::Backend::Cascade
  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 Cascade included" do
    assert_equal Backend, I18n.backend.class
  end
end

Version data entries

116 entries across 98 versions & 25 rubygems

Version Path
lazy_record-0.1.8 vendor/bundle/gems/i18n-0.8.1/test/api/cascade_test.rb
lazy_record-0.1.7 vendor/bundle/gems/i18n-0.8.1/test/api/cascade_test.rb
lazy_record-0.1.6 vendor/bundle/gems/i18n-0.8.1/test/api/cascade_test.rb
lazy_record-0.1.4 vendor/bundle/gems/i18n-0.8.1/test/api/cascade_test.rb
tdiary-5.0.4 vendor/bundle/gems/i18n-0.8.1/test/api/cascade_test.rb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/i18n-0.8.1/test/api/cascade_test.rb
lazy_record-0.1.3 vendor/bundle/gems/i18n-0.8.1/test/api/cascade_test.rb
lazy_record-0.1.2 vendor/bundle/gems/i18n-0.8.1/test/api/cascade_test.rb
lazy_record-0.1.1 vendor/bundle/gems/i18n-0.8.1/test/api/cascade_test.rb
lazy_record-0.1.0 vendor/bundle/gems/i18n-0.8.1/test/api/cascade_test.rb
i18n-0.8.1 test/api/cascade_test.rb
i18n-0.8.0 test/api/cascade_test.rb
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/i18n-0.7.0/test/api/cascade_test.rb
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/i18n-0.7.0/test/api/cascade_test.rb
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/i18n-0.7.0/test/api/cascade_test.rb
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/i18n-0.7.0/test/api/cascade_test.rb
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/i18n-0.7.0/test/api/cascade_test.rb
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/i18n-0.7.0/test/api/cascade_test.rb
autocompl-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/i18n-0.7.0/test/api/cascade_test.rb
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/i18n-0.7.0/test/api/cascade_test.rb