Sha256: 02813a211505a12704a6575e0a1222b0e0127508978d492984b5a5d1a20eeaf1
Contents?: true
Size: 541 Bytes
Versions: 2
Compression:
Stored size: 541 Bytes
Contents
# encoding: utf-8 require 'abstract_unit' class MultibyteUnicodeDatabaseTest < ActiveSupport::TestCase include ActiveSupport::Multibyte::Unicode def setup @ucd = UnicodeDatabase.new end UnicodeDatabase::ATTRIBUTES.each do |attribute| define_method "test_lazy_loading_on_attribute_access_of_#{attribute}" do @ucd.expects(:load) @ucd.send(attribute) end end def test_load @ucd.load UnicodeDatabase::ATTRIBUTES.each do |attribute| assert @ucd.send(attribute).length > 1 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activejob-lock-0.0.2 | rails/activesupport/test/multibyte_unicode_database_test.rb |
activejob-lock-0.0.1 | rails/activesupport/test/multibyte_unicode_database_test.rb |