Sha256: 717a9c972d38afeeb01439dcc7b9bf4288c9d7b55973c5d2be134f21236a4884

Contents?: true

Size: 372 Bytes

Versions: 7

Compression:

Stored size: 372 Bytes

Contents

# encoding: utf-8

module Tests
  module Backend
    module Api
      module Basics
        def test_available_locales
          backend_store_translations 'de', :foo => 'bar'
          backend_store_translations 'en', :foo => 'foo'
          assert_equal ['de', 'en'], I18n.backend.available_locales.map{|locale| locale.to_s }.sort
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
pepe-i18n-0.2.0 test/api/basics.rb
thedarkone-i18n-0.2.0 test/api/basics.rb
polish-0.0.5 lib/vendor/i18n/test/api/basics.rb
polish-0.0.4 lib/vendor/i18n/test/api/basics.rb
polish-0.0.3 lib/vendor/i18n/test/api/basics.rb
polish-0.0.2 lib/vendor/i18n/test/api/basics.rb
polish-0.0.1 lib/vendor/i18n/test/api/basics.rb