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
3mix-castronaut-0.5.0.2 vendor/activerecord/test/cases/synonym_test_oracle.rb
masover-castronaut-0.4.4.4 vendor/activerecord/test/cases/synonym_test_oracle.rb
masover-castronaut-0.4.4.5 vendor/activerecord/test/cases/synonym_test_oracle.rb
masover-castronaut-0.5.0.1 vendor/activerecord/test/cases/synonym_test_oracle.rb
p8-castronaut-0.6.1.1 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.4.1 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.4.2 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.4.3 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.4.4 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.4.5 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.4.6 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.5.0 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.5.1 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.5.2 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.5.3 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.5.4 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.6.0 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.6.1 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.7.4 vendor/activerecord/test/cases/synonym_test_oracle.rb
relevance-castronaut-0.7.5 vendor/activerecord/test/cases/synonym_test_oracle.rb