Sha256: 929df8b5164b933f7391c7cebdef0fab2b63b1ba6946d2adfea16104805c4d6b

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

require_relative '../helper'

class TestDefinition < MiniTest::Unit::TestCase
  def test_reflection_properties
    class_name, foreign_key = TestDummy::Support.reflection_properties(Bill, :account)

    assert_equal Account, class_name
    assert_equal :account_id, foreign_key
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test_dummy-0.5.0 test/unit/test_support.rb