Sha256: 6714607bada6642fa87bbb5eadeb52674f59bf6dfadc96a70375030d0bdd378d
Contents?: true
Size: 389 Bytes
Versions: 56
Compression:
Stored size: 389 Bytes
Contents
require File.join(File.dirname(__FILE__), '../test_helper.rb') class LocalizationTest < Test::Unit::TestCase def test_localization assert_equal "Dutch", as_(:dutch) assert_equal "dutch", as_('dutch') I18n.backend.store_translations :en, :active_scaffold => {:create_model => 'Create %{model}'} assert_equal "Create Test", as_(:create_model, :model => 'Test') end end
Version data entries
56 entries across 56 versions & 3 rubygems