aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorPhilippe Creux <pcreux@gmail.com>2014-06-27 15:38:45 -0700
committerPhilippe Creux <pcreux@gmail.com>2014-06-27 15:38:45 -0700
commit04186339195f4b60ac5313e5dd3b2faa56ce7651 (patch)
treead904bdfdaf6c418d6e4ae958f125e63604dde2c /activerecord
parent0aeb490dc48c39c1bfaf8b8ff772c266a9cde867 (diff)
downloadrails-04186339195f4b60ac5313e5dd3b2faa56ce7651.tar.gz
rails-04186339195f4b60ac5313e5dd3b2faa56ce7651.tar.bz2
rails-04186339195f4b60ac5313e5dd3b2faa56ce7651.zip
Fix test with add_foreign_key DSL in 9d21ef9
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/schema/schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index be134fde11..a9a4acdfce 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -83,7 +83,7 @@ ActiveRecord::Schema.define do
create_table :author_addresses, force: true do |t|
end
- add_foreign_key :authors, :author_address
+ add_foreign_key :authors, :author_addresses
create_table :author_favorites, force: true do |t|
t.column :author_id, :integer