Commit Graph

1174 Commits

Author SHA1 Message Date
Etienne Massip 65b533a8ec Make sure that anchor names generated for headings fully match wiki links (#7215).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 17:25:29 +00:00
Etienne Massip 8bb90f87fb Prepend page title to anchor in single page wiki HTML export to make links more unique.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 15:57:17 +00:00
Etienne Massip ac2dbde135 Fix generation of blank local link when no title is specified in wiki link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 15:32:34 +00:00
Etienne Massip 1ee65e0469 Use local links in wiki pages when possible (#3276).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 14:44:07 +00:00
Toshi MARUYAMA 8f362558b6 add unit message test of cannot reply to a locked topic
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:11:02 +00:00
Toshi MARUYAMA d817b063ec code layout clean up of test/unit/message_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:10:18 +00:00
Toshi MARUYAMA ca7051aea9 remove duplicate fixtures from test/unit/member_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:44:08 +00:00
Toshi MARUYAMA 94a6068380 Rails3: replace "all" fixtures at test/unit/member_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:54:14 +00:00
Toshi MARUYAMA eb1d9289e8 Rails3: replace "all" fixtures at test/unit/group_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:53:04 +00:00
Toshi MARUYAMA 298405e9c8 Rails3: replace "all" fixtures at test/unit/project_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 23:57:34 +00:00
Toshi MARUYAMA 211652002f code layout clean up of test_reply_posted_message_id at test/unit/mailer_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7502 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 13:14:04 +00:00
Toshi MARUYAMA af3c96e0af code layout clean up of test_message_posted_message_id at test/unit/mailer_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 13:13:21 +00:00
Toshi MARUYAMA 662474b0e6 code layout clean up of test_generated_links_with_prefix_and_no_relative_url_root at test/unit/mailer_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 13:12:40 +00:00
Toshi MARUYAMA 000bdfbd6b code layout clean up of test_generated_links_with_prefix at test/unit/mailer_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 13:11:56 +00:00
Toshi MARUYAMA b3c5f812c9 code layout clean up of test_generated_links_in_emails at test/unit/mailer_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 11:11:03 +00:00
Toshi MARUYAMA fcdd35be6e Rails3: replace "all" fixtures at test/unit/mailer_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 11:10:21 +00:00
Toshi MARUYAMA d181e697ae Rails3: replace "all" fixtures at test/unit/helpers/issues_helper_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 10:10:36 +00:00
Toshi MARUYAMA 12813cd6ab Rails3: replace "all" fixtures at test/unit/helpers/projects_helper_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 23:57:36 +00:00
Toshi MARUYAMA a281752e4f code layout clean up of test_should_close_duplicates at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 12:02:06 +00:00
Toshi MARUYAMA 96e56f52ad code layout clean up of test_should_not_close_duplicated_issue at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 12:01:43 +00:00
Toshi MARUYAMA 06452ae8cf code layout clean up of test_create_should_send_email_notification at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 12:01:19 +00:00
Toshi MARUYAMA 1d4cf3ecb6 code layout clean up of test_all_dependent_issues at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 12:00:54 +00:00
Toshi MARUYAMA 3a7c4a0417 code layout clean up of test_create_with_group_assignment at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 12:00:28 +00:00
Toshi MARUYAMA fa373ff7f3 code layout clean up of test_create at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 11:59:58 +00:00
Toshi MARUYAMA 615540a12c code layout clean up of test_create_minimal at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7475 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 11:59:32 +00:00
Toshi MARUYAMA d0ef8f25c4 code layout clean up of test_create_with_required_custom_field at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 11:59:06 +00:00
Toshi MARUYAMA f7bdf375cd code layout clean up of test_errors_full_messages_should_include_custom_fields_errors at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 11:58:39 +00:00
Toshi MARUYAMA d9a22bb7c3 code layout clean up of test_category_based_assignment at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 11:58:12 +00:00
Toshi MARUYAMA 8af3c5a7db code layout clean up of test_all_dependent_issues_with_persistent_multiple_circular_dependencies at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7462 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:17:18 +00:00
Toshi MARUYAMA 7a2f8588ee code layout clean up of test_all_dependent_issues_with_persistent_circular_dependency at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7461 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:16:55 +00:00
Toshi MARUYAMA 5778c26434 add unit test to set project if project is nil at unit time entry test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 13:38:21 +00:00
Toshi MARUYAMA 34f2d382b7 add unit test to validate time entry
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 12:05:49 +00:00
Toshi MARUYAMA ab0ef83310 add missing fixtures at unit time entry test in running on empty database
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 12:05:10 +00:00
Toshi MARUYAMA cf8564987e add missing fixtures at unit user test in running on empty database
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 09:53:35 +00:00
Toshi MARUYAMA 8013244b06 more strict test to ensure single anonymous user at unit user test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7444 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 09:53:11 +00:00
Toshi MARUYAMA c36408dd39 add test to ensure single anonymous user at unit user test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 04:24:27 +00:00
Toshi MARUYAMA 80581538a1 add test of validate password length at unit user test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 06:13:16 +00:00
Toshi MARUYAMA 85fe235b68 add missing "projects_trackers" fixture at unit query test in running on empty database
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7424 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 16:56:12 +00:00
Toshi MARUYAMA 51fced0c3d add new lines in fixtures at unit query test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 16:55:27 +00:00
Toshi MARUYAMA 2ab9f0f778 Rails3: scm: subversion: fix error of test_next_nil at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:04:43 +00:00
Toshi MARUYAMA 94427d66b6 Rails3: scm: subversion: fix error of test_next at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:04:20 +00:00
Toshi MARUYAMA 0fb6d2d7e8 Rails3: scm: subversion: fix error of test_previous_nil at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:03:58 +00:00
Toshi MARUYAMA 9ec9089bc2 Rails3: scm: subversion: fix error of test_previous at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:03:34 +00:00
Toshi MARUYAMA 3b6c6a6780 Rails3: scm: filesystem: replace @repository.reload to @project.reload of test_fetch_changesets at unit model test
Filesystem repository does not have revisions.
So, on Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error
does not raise.
But, replace the same way with other SCMs.

For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 10:03:09 +00:00
Toshi MARUYAMA c55dde85e9 Rails3: scm: subversion: fix error of test_format_identifier at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7155 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:06:06 +00:00
Toshi MARUYAMA 2deaa21f72 Rails3: scm: subversion: fix error of test_find_changeset_by_empty_name at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7154 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:05:30 +00:00
Toshi MARUYAMA 214bbc7c6f Rails3: scm: subversion: fix error of test_identifier at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:04:50 +00:00
Toshi MARUYAMA 91a1808ff3 Rails3: scm: subversion: fix error of test_directory_listing_with_square_brackets_in_base at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:04:10 +00:00
Toshi MARUYAMA 92bcc041ae Rails3: scm: subversion: fix error of test_directory_listing_with_square_brackets_in_path at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:03:13 +00:00
Toshi MARUYAMA db11ef3210 Rails3: scm: subversion: fix error of test_latest_changesets at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 04:02:30 +00:00