Sha256: f85779629026234cfa2c8520b431e9866030bb3baade8c472a3fba12ae1c97b5
Contents?: true
Size: 806 Bytes
Versions: 2
Compression:
Stored size: 806 Bytes
Contents
# encoding: utf-8 require File.expand_path(File.dirname(__FILE__) + '/../../test_helper') class I18nCascadeApiTest < Test::Unit::TestCase class Backend include I18n::Backend::Base include I18n::Backend::Cascade end def setup I18n.backend = Backend.new super end include Tests::Api::Basics include Tests::Api::Defaults include Tests::Api::Interpolation include Tests::Api::Link include Tests::Api::Lookup include Tests::Api::Pluralization include Tests::Api::Procs include Tests::Api::Localization::Date include Tests::Api::Localization::DateTime include Tests::Api::Localization::Time include Tests::Api::Localization::Procs define_method "test: make sure we use a backend with Cascade included" do assert_equal Backend, I18n.backend.class end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
activesupport-2.3.6.pre | lib/active_support/vendor/i18n-0.3.3/test/cases/api/cascade_test.rb |
i18n-0.3.3 | test/cases/api/cascade_test.rb |