add check default document category is not defined on database in tests (#11665)

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10230 e93f8b46-1217-0410-a6f0-8f06a7374b81
add unit test that enumeration returns default in regardless of active or not

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10231 e93f8b46-1217-0410-a6f0-8f06a7374b81
remove empty setup method from unit enumeration test

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10232 e93f8b46-1217-0410-a6f0-8f06a7374b81
Use a back_url parameter instead of referrer to refresh the page after user deletion (#11691).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10234 e93f8b46-1217-0410-a6f0-8f06a7374b81
Reverted changes made to tests for r1893 (#11691).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10235 e93f8b46-1217-0410-a6f0-8f06a7374b81
MailHandler: Match assignee on the full display name (#11552).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10236 e93f8b46-1217-0410-a6f0-8f06a7374b81
Don't use tag helper in layout (#11704).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10237 e93f8b46-1217-0410-a6f0-8f06a7374b81
Reverted r10234 and r10235 that broke redirect after login (#11691).

Tests in account_controller_test.rb should not have been changed.

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10238 e93f8b46-1217-0410-a6f0-8f06a7374b81
Do not use escaped back_url param (#11691).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10239 e93f8b46-1217-0410-a6f0-8f06a7374b81
Fixed that destroying a user from the edit page returns a 404 response (#11691).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10240 e93f8b46-1217-0410-a6f0-8f06a7374b81
Make sure we don't build an empty IN () statement (#11662).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10241 e93f8b46-1217-0410-a6f0-8f06a7374b81
Do not build a projects_by_role Hash that gets updated when accessing a key that is not present (#11662).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10242 e93f8b46-1217-0410-a6f0-8f06a7374b81
Code cleanup: removed the obsolete with_limit scope.

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10243 e93f8b46-1217-0410-a6f0-8f06a7374b81
Updates test for r10243.

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10244 e93f8b46-1217-0410-a6f0-8f06a7374b81
scm: git: add functional test of diff with revision and path (#11752)

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10245 e93f8b46-1217-0410-a6f0-8f06a7374b81
remove trailing white-space from app/controllers/wiki_controller.rb

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10246 e93f8b46-1217-0410-a6f0-8f06a7374b81
Gemfile: pin i18n gem version 0.6.0

Tests on CI server fails.
http://www.redmine.org/builds/logs/build_trunk_sqlite3_ruby-1.9.3-p194_580.html

<pre>
Failure:
  <"Due date changed from 01 01 2010 to 31 01 2010"> expected to be =~
  </01\/31\/2010/>.
test: IssuesHelper#show_detail with a due_date attribute should format the current date. (IssuesHelperTest)
test/unit/helpers/issues_helper_test.rb:127:in `block (3 levels) in <class:IssuesHelperTest>'
</pre>

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10247 e93f8b46-1217-0410-a6f0-8f06a7374b81
set language en to test_label_for at test/unit/query_test.rb

Test on CI Server fails.

http://www.redmine.org/builds/logs/build_trunk_sqlite3_ruby-1.9.3-p194_581.html

<pre>
Failure:
  <"Assignee">("US-ASCII") expected but was
  <"Assigné à">("UTF-8").
test_label_for(QueryTest)
test/unit/query_test.rb:860:in `test_label_for'
</pre>

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10249 e93f8b46-1217-0410-a6f0-8f06a7374b81
scm: git: use diff_max_lines_displayed setting at test_diff_with_rev_and_path of functional test (#11752)

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10251 e93f8b46-1217-0410-a6f0-8f06a7374b81
scm: git: use with_settings at test_diff_truncated of functional test (#11752)

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@10252 e93f8b46-1217-0410-a6f0-8f06a7374b81