Sha256: aaaecf05d9171ac26459850771e432c0d8c063943cd84f3af6a2dab7ff7a894b
Contents?: true
Size: 433 Bytes
Versions: 4
Compression:
Stored size: 433 Bytes
Contents
require 'abstract_unit' module MagicGroup magic_module :table_name_prefix => 'group_' end class MagicModuleTest < Test::Unit::TestCase def setup end def test_table_prefix assert_nothing_thrown { MagicGroup::Membership } assert_equal('group_memberships', MagicGroup::Membership.table_name) assert_nothing_thrown { MagicGroup::Tag } assert_equal('group_tag', MagicGroup::Tag.table_name) end end
Version data entries
4 entries across 4 versions & 2 rubygems