aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations_test.rb
diff options
context:
space:
mode:
authorFrederick Cheung <frederick.cheung@gmail.com>2008-04-21 11:00:01 +0100
committerMichael Koziarski <michael@koziarski.com>2008-04-22 13:55:13 +1200
commita4fc93c3a9f59dcd7cf56c6ae1cb1fb749f6678b (patch)
treeb45689a4b8ab2d55b475986e0d49519906f55c44 /activerecord/test/cases/associations_test.rb
parent0a94f16b9532894aeb7aed2aec5082dd3b521414 (diff)
downloadrails-a4fc93c3a9f59dcd7cf56c6ae1cb1fb749f6678b.tar.gz
rails-a4fc93c3a9f59dcd7cf56c6ae1cb1fb749f6678b.tar.bz2
rails-a4fc93c3a9f59dcd7cf56c6ae1cb1fb749f6678b.zip
Use schema.rb for all databases
Move adapter specific schema into their own files Signed-off-by: Michael Koziarski <michael@koziarski.com>
Diffstat (limited to 'activerecord/test/cases/associations_test.rb')
-rwxr-xr-xactiverecord/test/cases/associations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations_test.rb b/activerecord/test/cases/associations_test.rb
index bfb95eca1a..ed2fab6d22 100755
--- a/activerecord/test/cases/associations_test.rb
+++ b/activerecord/test/cases/associations_test.rb
@@ -41,7 +41,7 @@ class AssociationsTest < ActiveRecord::TestCase
end
def test_should_construct_new_finder_sql_after_create
- person = Person.new
+ person = Person.new :first_name => 'clark'
assert_equal [], person.readers.find(:all)
person.save!
reader = Reader.create! :person => person, :post => Post.new(:title => "foo", :body => "bar")