Cleanup of finders with :conditions option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11963 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -100,7 +100,7 @@ class BoardTest < ActiveSupport::TestCase
|
||||
end
|
||||
end
|
||||
end
|
||||
assert_equal 0, Message.count(:conditions => {:board_id => 1})
|
||||
assert_equal 0, Message.where(:board_id => 1).count
|
||||
end
|
||||
|
||||
def test_destroy_should_nullify_children
|
||||
|
||||
Reference in New Issue
Block a user