mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-25 01:41:14 +00:00
Merged r5176 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.1-stable@5589 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
0b5b8bebd1
commit
c2cd4b7f48
@ -43,7 +43,7 @@ class Project < ActiveRecord::Base
|
||||
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
|
||||
|
||||
@ -204,7 +204,7 @@ class ProjectTest < ActiveSupport::TestCase
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user