has_many :time_entries, :dependent => :delete_all
has_many :queries, :dependent => :delete_all
has_many :documents, :dependent => :destroy
- has_many :news, :dependent => :delete_all, :include => :author
+ has_many :news, :dependent => :destroy, :include => :author
has_many :issue_categories, :dependent => :delete_all, :order => "#{IssueCategory.table_name}.name"
has_many :boards, :dependent => :destroy, :order => "position ASC"
has_one :repository, :dependent => :destroy
assert_equal 0, Repository.count
assert_equal 0, Changeset.count
assert_equal 0, Change.count
- #assert_equal 0, Comment.count
+ assert_equal 0, Comment.count
assert_equal 0, TimeEntry.count
assert_equal 0, Version.count
assert_equal 0, Watcher.count