Changeset 4009
- Timestamp:
- 03/22/06 01:03:25 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activerecord/test/associations_join_model_test.rb
r4007 r4009 314 314 new_author = Author.create(:name => "Bob") 315 315 authors(:david).author_favorites.create :favorite_author => new_author 316 assert_equal [new_author, authors(:mary)], authors(:david).reload.favorite_authors316 assert_equal new_author, authors(:david).reload.favorite_authors.first 317 317 end 318 318