diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-01-28 09:11:15 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-01-28 09:11:15 +0000 |
commit | 7ce675352653dfd1a538bee82d67af99b442047a (patch) | |
tree | ad97f36c86fb6f315e87076a3d07d422283c3d3d /activerecord | |
parent | 8f5c12e451cc0ad5e3a9dd54f1fe882acae5b83b (diff) | |
download | rails-7ce675352653dfd1a538bee82d67af99b442047a.tar.gz rails-7ce675352653dfd1a538bee82d67af99b442047a.tar.bz2 rails-7ce675352653dfd1a538bee82d67af99b442047a.zip |
Post title and body not null. References #6778.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/finder_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/finder_test.rb b/activerecord/test/finder_test.rb index eb1e4d639c..abf7f65733 100644 --- a/activerecord/test/finder_test.rb +++ b/activerecord/test/finder_test.rb @@ -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 |