Sha256: 057e203a477c302a05c23a902e46ccefe2f53f3eb2910a525033220ec8b3c1a8

Contents?: true

Size: 325 Bytes

Versions: 8

Compression:

Stored size: 325 Bytes

Contents

# encoding: utf-8

module Tests
  module Api
    module Basics
      def test_available_locales
        store_translations('de', :foo => 'bar')
        store_translations('en', :foo => 'foo')

        assert I18n.available_locales.include?(:de)
        assert I18n.available_locales.include?(:en)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
i18n-0.3.6 test/api/tests/basics.rb
i18n-0.3.6.pre test/api/tests/basics.rb
activesupport-2.3.6.pre lib/active_support/vendor/i18n-0.3.3/test/api/basics.rb
i18n-0.3.5 test/api/tests/basics.rb
i18n-0.3.4 test/api/tests/basics.rb
i18n-0.3.3 test/api/basics.rb
i18n-0.3.2 test/api/basics.rb
i18n-0.3.1 test/api/basics.rb