Sha256: a19805a5e2a91b5d2ef14a7bbf024fd1c8451aefa09c0907960e4668b5a09e2c
Contents?: true
Size: 307 Bytes
Versions: 1
Compression:
Stored size: 307 Bytes
Contents
require 'test_helper' class Superstore::BelongsTo::ReflectionTest < Superstore::TestCase class ::Status < Superstore::Base; end class ::User < Superstore::Base belongs_to :status end test 'class_name' do assert_equal 'Status', User.new.belongs_to_reflections[:status].class_name end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
superstore-1.0.0 | test/unit/belongs_to/reflection_test.rb |