aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2012-09-03 20:30:43 +0200
committerYves Senn <yves.senn@gmail.com>2012-09-03 20:30:43 +0200
commit77ca2815f5c5fc20a9ca7fa4cdd16d0c4b908682 (patch)
tree826132ef4d0d098f3813332b58a55d77b0aba3fa /activerecord/test/schema
parent30a8f0d5b675d0eddc0af05103f4eb7f95c7caad (diff)
downloadrails-77ca2815f5c5fc20a9ca7fa4cdd16d0c4b908682.tar.gz
rails-77ca2815f5c5fc20a9ca7fa4cdd16d0c4b908682.tar.bz2
rails-77ca2815f5c5fc20a9ca7fa4cdd16d0c4b908682.zip
rewrite inheritance tests with a custom inheritance_column
previously the tests with and without a custom `inheritance_column` used the same models. Since the model then has both fields this can lead to false positives.
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index eae7a04157..7b37ac3389 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -186,6 +186,7 @@ ActiveRecord::Schema.define do
create_table :vegetables, :force => true do |t|
t.string :name
+ t.integer :seller_id
t.string :custom_type
end