Sha256: 0a3cb3e37fcf575d16a259699f9a9c6a21a8fb331283a6d0bedbcb97a9e84f5d

Contents?: true

Size: 353 Bytes

Versions: 5

Compression:

Stored size: 353 Bytes

Contents

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

5 entries across 5 versions & 3 rubygems

Version Path
svenfuchs-i18n-0.2.0 test/api/basics.rb
theoooo-i18n-0.2.0 test/api/basics.rb
theoooo-i18n-0.2.1 test/api/basics.rb
theoooo-i18n-0.2.2 test/api/basics.rb
i18n-0.2.1 test/api/basics.rb