Backported r2429, r2430, r248 to r2491 and r2522 from trunk (request and controller objects added to the hooks by default.).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@2558 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2009-03-07 11:43:38 +00:00
1 parent b366375e7e
commit 36b5d4f6af
6 files changed
+183 -19

No files matched your search

+1
View File
@@ -67,6 +67,7 @@ class RepositoryTest < Test::Unit::TestCase
def test_scan_changesets_for_issue_ids
Setting.default_language = 'en'
set_language_if_valid('en')
# choosing a status to apply to fix issues
Setting.commit_fix_status_id = IssueStatus.find(:first, :conditions => ["is_closed = ?", true]).id