Sha256: c28ab43398b64124303ca4756ed23a5d575295f6fd83622e83cef43137df5748
Contents?: true
Size: 552 Bytes
Versions: 2
Compression:
Stored size: 552 Bytes
Contents
require 'abstract_unit' class InvisibleModelClassesTest < Test::Unit::TestCase def test_available assert_not_nil Group assert_not_nil FunUser assert_not_nil GroupMembership assert_not_nil GroupTag, "Could not find GroupTag with singularized table name 'GroupTag'" end def test_table_names assert_equal 'groups', Group.table_name assert_equal 'fun_users', FunUser.table_name assert_equal 'group_memberships', GroupMembership.table_name assert_equal 'group_tag', GroupTag.table_name end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dr_nic_magic_models-0.7.0 | test/invisible_model_classes_test.rb |
dr_nic_magic_models-0.7.1 | test/invisible_model_classes_test.rb |