Sha256: f4f03b9ba51361cbf85d3eec2b8908a96db0ed663da7f48c40cebcfc2431d909
Contents?: true
Size: 926 Bytes
Versions: 4
Compression:
Stored size: 926 Bytes
Contents
# encoding: utf-8 $:.unshift(File.expand_path(File.dirname(__FILE__) + '/../')); $:.uniq! require 'test_helper' require 'api' class I18nFallbacksApiTest < Test::Unit::TestCase class Backend include I18n::Backend::Base include I18n::Backend::Fallbacks 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 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
i18n-0.3.6 | test/api/fallbacks_test.rb |
i18n-0.3.6.pre | test/api/fallbacks_test.rb |
i18n-0.3.5 | test/api/fallbacks_test.rb |
i18n-0.3.4 | test/api/fallbacks_test.rb |