Sha256: b7bcfa6abe1d10e54c4acab60b9a4ceb2c72b262e54a2c80d80fb93d4d7fe977
Contents?: true
Size: 815 Bytes
Versions: 2
Compression:
Stored size: 815 Bytes
Contents
# encoding: utf-8 require File.expand_path(File.dirname(__FILE__) + '/../../test_helper') class I18nFastBackendApiTest < Test::Unit::TestCase 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 class FastBackend include I18n::Backend::Base include I18n::Backend::Fast end def setup I18n.backend = FastBackend.new super end define_method "test: make sure we use the FastBackend backend" do assert_equal FastBackend, 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/fast_test.rb |
i18n-0.3.3 | test/cases/api/fast_test.rb |