Froze rails gems
[depot.git] / vendor / rails / activerecord / test / cases / synonym_test_oracle.rb
1 require "cases/helper"
2 require 'models/topic'
3 require 'models/subject'
4
5 # confirm that synonyms work just like tables; in this case
6 # the "subjects" table in Oracle (defined in oci.sql) is just
7 # a synonym to the "topics" table
8
9 class TestOracleSynonym < ActiveRecord::TestCase
10
11 def test_oracle_synonym
12 topic = Topic.new
13 subject = Subject.new
14 assert_equal(topic.attributes, subject.attributes)
15 end
16
17 end