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

Version Path
superstore-3.0.0 test/unit/associations/reflection_test.rb
superstore-2.5.0 test/unit/associations/reflection_test.rb
superstore-2.4.4 test/unit/associations/reflection_test.rb
superstore-2.4.3 test/unit/associations/reflection_test.rb
superstore-2.4.2 test/unit/associations/reflection_test.rb
superstore-2.4.1 test/unit/associations/reflection_test.rb
superstore-2.4.0 test/unit/associations/reflection_test.rb
superstore-2.3.0 test/unit/associations/reflection_test.rb
superstore-2.2.0 test/unit/associations/reflection_test.rb
superstore-2.1.3 test/unit/associations/reflection_test.rb
superstore-2.1.2 test/unit/associations/reflection_test.rb
superstore-2.1.1 test/unit/associations/reflection_test.rb
superstore-2.1.0 test/unit/associations/reflection_test.rb