Skip to content

Commit

Permalink
Provide a post title for sqlite3
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8943 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Feb 28, 2008
1 parent 5dee6ce commit 18aa19c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/test/cases/associations/eager_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def test_duplicate_middle_objects
end

def test_including_duplicate_objects_from_belongs_to
popular_post = Post.create!(:body => "I like cars!")
popular_post = Post.create!(:title => 'foo', :body => "I like cars!")
comment = popular_post.comments.create!(:body => "lol")
popular_post.readers.create!(:person => people(:michael))
popular_post.readers.create!(:person => people(:david))
Expand All @@ -81,7 +81,7 @@ def test_including_duplicate_objects_from_belongs_to
end

def test_including_duplicate_objects_from_has_many
car_post = Post.create!(:body => "I like cars!")
car_post = Post.create!(:title => 'foo', :body => "I like cars!")
car_post.categories << categories(:general)
car_post.categories << categories(:technology)

Expand Down

0 comments on commit 18aa19c

Please sign in to comment.