Sha256: a6a72f1bb7bb58b3af9eb23fb9d5332eea5414aafdec0e4e141d3afdc30f1581

Contents?: true

Size: 419 Bytes

Versions: 105

Compression:

Stored size: 419 Bytes

Contents

require "cases/helper"
require 'models/topic'
require 'models/subject'

# confirm that synonyms work just like tables; in this case
# the "subjects" table in Oracle (defined in oci.sql) is just
# a synonym to the "topics" table

class TestOracleSynonym < ActiveRecord::TestCase

  def test_oracle_synonym
    topic = Topic.new
    subject = Subject.new
    assert_equal(topic.attributes, subject.attributes)
  end

end

Version data entries

105 entries across 102 versions & 21 rubygems

Version Path
activerecord-nuodb-adapter-2.0.3 test/cases/adapters/oracle/synonym_test.rb
activerecord-nuodb-adapter-2.0 test/cases/adapters/oracle/synonym_test.rb
activerecord-nuodb-adapter-1.1 test/cases/adapters/oracle/synonym_test.rb
activerecord-nuodb-adapter-1.0.4 test/cases/adapters/oracle/synonym_test.rb
activerecord-2.3.18 test/cases/synonym_test_oracle.rb
activerecord_csi-2.3.5.p8 test/cases/synonym_test_oracle.rb
activerecord-2.3.17 test/cases/synonym_test_oracle.rb
activerecord_csi-2.3.5.p7 test/cases/synonym_test_oracle.rb
activerecord_csi-2.3.5.p6 test/cases/synonym_test_oracle.rb
activerecord-2.3.16 test/cases/synonym_test_oracle.rb
activerecord-2.3.15 test/cases/synonym_test_oracle.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/activerecord-2.3.14/test/cases/synonym_test_oracle.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/activerecord-2.3.12/test/cases/synonym_test_oracle.rb
activerecord-2.3.14 test/cases/synonym_test_oracle.rb
kajam-1.0.3.rc2 vendor/rails/activerecord/test/cases/synonym_test_oracle.rb
activerecord-2.3.12 test/cases/synonym_test_oracle.rb
radiant-1.0.0.rc2 vendor/rails/activerecord/test/cases/synonym_test_oracle.rb
radiant-1.0.0.rc1 vendor/rails/activerecord/test/cases/synonym_test_oracle.rb
webroar-0.5.0 src/admin_panel/vendor/rails/activerecord/test/cases/synonym_test_oracle.rb
activerecord-2.3.11 test/cases/synonym_test_oracle.rb