Sha256: efd52406bd049090fdccbada8e98ee50b1ae2513aa4488dfdf387f08610290a0

Contents?: true

Size: 305 Bytes

Versions: 17

Compression:

Stored size: 305 Bytes

Contents

require 'test_helper'

class Superstore::BelongsTo::ReflectionTest < Superstore::TestCase
  class ::Status < Superstore::Base; end
  class ::Job < Superstore::Base
    belongs_to :status
  end

  test 'class_name' do
    assert_equal 'Status', Job.new.belongs_to_reflections[:status].class_name
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
superstore-1.2.0 test/unit/belongs_to/reflection_test.rb
superstore-1.1.4 test/unit/belongs_to/reflection_test.rb
superstore-1.1.3 test/unit/belongs_to/reflection_test.rb
superstore-1.1.2 test/unit/belongs_to/reflection_test.rb
superstore-1.1.1 test/unit/belongs_to/reflection_test.rb
superstore-1.1.0 test/unit/belongs_to/reflection_test.rb
superstore-1.0.12 test/unit/belongs_to/reflection_test.rb
superstore-1.0.11 test/unit/belongs_to/reflection_test.rb
superstore-1.0.10 test/unit/belongs_to/reflection_test.rb
superstore-1.0.9 test/unit/belongs_to/reflection_test.rb
superstore-1.0.8 test/unit/belongs_to/reflection_test.rb
superstore-1.0.7 test/unit/belongs_to/reflection_test.rb
superstore-1.0.6 test/unit/belongs_to/reflection_test.rb
superstore-1.0.5 test/unit/belongs_to/reflection_test.rb
superstore-1.0.4 test/unit/belongs_to/reflection_test.rb
superstore-1.0.3 test/unit/belongs_to/reflection_test.rb
superstore-1.0.2 test/unit/belongs_to/reflection_test.rb