Commit Graph

2008 Commits

Author SHA1 Message Date
Toshi MARUYAMA ceb4a6f3fb Rails3: replace "all" fixtures at test/functional/context_menus_controller_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@7489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 07:07:35 +00:00
Toshi MARUYAMA 7b82102e83 Rails3: replace "all" fixtures at test/functional/auto_completes_controller_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@7488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 07:07:01 +00:00
Toshi MARUYAMA 6f6c519d0c remove fixtures from test/functional/auth_sources_controller_test.rb
This test does not need fixtures.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 04:20:49 +00:00
Toshi MARUYAMA aeca1c20c4 Rails3: replace "all" fixtures at test/functional/activities_controller_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@7486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 04:20:08 +00:00
Toshi MARUYAMA 0f160628f6 remove hard-coded '.rxml' from "test_index_atom_feed" of functional activities controller test (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 04:19:26 +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
Etienne Massip 189b316016 Cleanup test exemplars and fix subsequent @#generate@ calls generating same values (#7613).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 20:51:42 +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 e42b152011 scm: subversion: remove fetch_changesets from test_revision at functional test
This test uses fixtures. So, there is no need to fetch changesets.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:57:19 +00:00
Toshi MARUYAMA 091d6de719 Rails3: scm: mercurial: fix error of test_empty_revision at functional 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@7215 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:14:32 +00:00
Toshi MARUYAMA 780470aa0e Rails3: scm: mercurial: fix error of test_annotate_at_given_revision at functional 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@7214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:14:09 +00:00
Toshi MARUYAMA cb108f9c75 Rails3: scm: mercurial: fix error of test_annotate_not_in_tip at functional 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@7213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:13:47 +00:00
Toshi MARUYAMA d11bd80041 Rails3: scm: mercurial: fix error of test_diff_two_revs at functional 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@7212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:13:22 +00:00
Toshi MARUYAMA 321fac2668 Rails3: scm: mercurial: fix error of test_diff at functional 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@7211 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:12:57 +00:00
Toshi MARUYAMA 1a32f541fc Rails3: scm: mercurial: fix error of test_show_tag at functional 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@7210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:12:32 +00:00
Toshi MARUYAMA 1e832322be Rails3: scm: mercurial: fix error of test_show_branch at functional 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@7209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:12:07 +00:00
Toshi MARUYAMA 93202a2012 Rails3: scm: mercurial: fix error of test_show_directory_latin_1_path at functional 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@7208 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:11:40 +00:00
Toshi MARUYAMA 3d90ba833b Rails3: scm: mercurial: fix error of test_show_directory_sql_escape_percent at functional 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@7207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:11:14 +00:00
Toshi MARUYAMA 76738e5e54 Rails3: scm: mercurial: fix error of test_destroy_invalid_repository at functional 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@7206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:02:59 +00:00
Toshi MARUYAMA cf8a8720ce Rails3: scm: mercurial: fix error of test_destroy_valid_repository at functional 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@7205 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 14:02:24 +00:00
Toshi MARUYAMA 887c27bb91 Rails3: scm: subversion: fix error of test_entry_download at functional 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@7204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:09:06 +00:00
Toshi MARUYAMA 640e7b2c82 Rails3: scm: subversion: fix error of test_entry_not_found at functional 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@7203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:08:42 +00:00
Toshi MARUYAMA 57b4c52d85 Rails3: scm: subversion: fix error of test_entry_at_given_revision at functional 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@7202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:08:19 +00:00
Toshi MARUYAMA 50c0856b9b Rails3: scm: subversion: fix error of test_entry_should_send_if_too_big at functional 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@7201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:07:55 +00:00
Toshi MARUYAMA ef997024a3 Rails3: scm: subversion: fix error of test_entry at functional 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@7200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:07:30 +00:00
Toshi MARUYAMA b90cc49ecb Rails3: scm: subversion: fix error of test_directory_changes at functional 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@7199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:07:05 +00:00
Toshi MARUYAMA 62a1e1dc50 Rails3: scm: subversion: fix error of test_file_changes at functional 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@7198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:06:38 +00:00
Toshi MARUYAMA 84fb59bca3 Rails3: scm: subversion: fix error of test_browse_at_given_revision at functional 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@7197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:06:13 +00:00
Toshi MARUYAMA 65ec0c7a5e Rails3: scm: subversion: fix error of test_browse_directory at functional 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@7196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:05:45 +00:00
Toshi MARUYAMA 89476adc7f Rails3: scm: subversion: fix error of test_browse_root at functional 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@7195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-12 13:05:14 +00:00