Sha256: a20d0b136cb33d31d5a239febebd2a77d46b6e9cc901b622dacede7b5b84ff09
Contents?: true
Size: 574 Bytes
Versions: 1
Compression:
Stored size: 574 Bytes
Contents
# frozen_string_literal: true 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 assert_called(@ucd, :load) do @ucd.send(attribute) end end end def test_load @ucd.load UnicodeDatabase::ATTRIBUTES.each do |attribute| assert @ucd.send(attribute).length > 1 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-on-quails-0.1.0 | activesupport/test/multibyte_unicode_database_test.rb |