mirror of
https://github.com/github/rails.git
synced 2026-01-29 08:18:03 -05:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user