Sha256: c396c34fee92db99b717b70a596841b7bdc71968cbff56ad9f1d8a0b01038e3e
Contents?: true
Size: 359 Bytes
Versions: 13
Compression:
Stored size: 359 Bytes
Contents
require 'test_helper' class Superstore::Associations::ReflectionTest < Superstore::TestCase # class ::Status < Superstore::Base; end # class ::Job < Superstore::Base # self.table_name = 'issues' # belongs_to :status # end # # test 'class_name' do # assert_equal 'Status', Job.new.association_reflections[:status].class_name # end end
Version data entries
13 entries across 13 versions & 1 rubygems