Sha256: 1d407e71a4a6354982a92e7700ab986fadafc76277ba1b4e28cf656be75b5b67

Contents?: true

Size: 424 Bytes

Versions: 97

Compression:

Stored size: 424 Bytes

Contents

require 'abstract_unit'
require 'fixtures/topic'
require 'fixtures/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 < Test::Unit::TestCase

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

Version data entries

97 entries across 97 versions & 7 rubygems

Version Path
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/rails/activerecord/test/synonym_test_oracle.rb
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/rails/activerecord/test/synonym_test_oracle.rb
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/rails/activerecord/test/synonym_test_oracle.rb
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/rails/activerecord/test/synonym_test_oracle.rb
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/rails/activerecord/test/synonym_test_oracle.rb
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/rails/activerecord/test/synonym_test_oracle.rb
jstorimer-deep-test-0.2.0 sample_rails_project/vendor/rails/activerecord/test/synonym_test_oracle.rb
jstorimer-deep-test-0.1.0 sample_rails_project/vendor/rails/activerecord/test/synonym_test_oracle.rb
activerecord-1.14.0 test/synonym_test_oracle.rb
activerecord-1.14.1 test/synonym_test_oracle.rb
activerecord-1.14.3 test/synonym_test_oracle.rb
activerecord-1.14.2 test/synonym_test_oracle.rb
activerecord-1.14.4 test/synonym_test_oracle.rb
activerecord-1.15.3 test/synonym_test_oracle.rb
activerecord-1.15.1 test/synonym_test_oracle.rb
activerecord-1.15.0 test/synonym_test_oracle.rb
activerecord-1.15.2 test/synonym_test_oracle.rb
activerecord-1.15.4 test/synonym_test_oracle.rb
activerecord-1.15.6 test/synonym_test_oracle.rb
activerecord-1.15.5 test/synonym_test_oracle.rb