Post title and body not null. References #6778.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper
2007-01-28 09:11:15 +00:00
parent 8f5c12e451
commit 7ce6753526

View File

@@ -462,7 +462,7 @@ class FinderTest < Test::Unit::TestCase
# http://dev.rubyonrails.org/ticket/6778
def test_find_ignores_previously_inserted_record
post = Post.create!
post = Post.create!(:title => 'test', :body => 'it out')
assert_equal [], Post.find_all_by_id(nil)
end