Sha256: 88e536b29310791d131932c60d75763a90a12ede2a8effd964fcaa6436afe797

Contents?: true

Size: 300 Bytes

Versions: 2

Compression:

Stored size: 300 Bytes

Contents

require "cases/helper"
require 'models/edge'

class JoinDependencyTest < ActiveRecord::TestCase
  def test_column_names_with_alias_handles_nil_primary_key
    assert_equal Edge.column_names, ActiveRecord::Associations::JoinDependency::JoinBase.new(Edge).column_names_with_alias.map(&:first)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activerecord-nuodb-adapter-1.1 test/cases/associations/join_dependency_test.rb
activerecord-nuodb-adapter-1.0.4 test/cases/associations/join_dependency_test.rb