Sha256: a7fcfaef0d4469de1442cf6cc63f7446c660b31e00e144098e2b7c2a33653b02
Contents?: true
Size: 420 Bytes
Versions: 11
Compression:
Stored size: 420 Bytes
Contents
require 'test_helper' class Superstore::BaseTest < Superstore::TestCase class Son < Superstore::Base end class Grandson < Son end test 'base_class' do assert_equal Superstore::Base, Superstore::Base assert_equal Son, Son.base_class assert_equal Son, Grandson.base_class end test 'table_name' do assert_equal 'sons', Son.table_name assert_equal 'sons', Grandson.table_name end end
Version data entries
11 entries across 11 versions & 1 rubygems