Commit Graph

6278 Commits

Author SHA1 Message Date
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 52011f1582 replace RAILS_DEFAULT_LOGGER of mylogger() to Rails.logger at app/models/mailer.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 02:01: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 e9e52887dd remove trailing white-spaces from config/locales/no.yml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 10:37:55 +00:00
Toshi MARUYAMA 817fd71434 Norwegian translation of trunk r7467 updated (#9311)
Contributed by Lars Erik Gullerud.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 10:37:26 +00:00
Toshi MARUYAMA 2cd0200fdd Norwegian translation of trunk r5957 and 1.2-stable r7455 updated (#9311)
Contributed by Lars Erik Gullerud.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 10:36:53 +00:00
Toshi MARUYAMA 4c389d4100 code layout clean up of reminder() at app/models/mailer.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 07:02:54 +00:00
Toshi MARUYAMA cf7efe3f7d code layout clean up of render_multipart() at app/models/mailer.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:59:39 +00:00
Toshi MARUYAMA b89bf7eaf1 code layout clean up of account_activation_request() at app/models/mailer.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:56:24 +00:00
Toshi MARUYAMA 3505339007 code layout clean up of wiki_content_updated() at app/models/mailer.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:54:29 +00:00
Toshi MARUYAMA e2a48eaa75 code layout clean up of wiki_content_added() at app/models/mailer.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7463 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:53:57 +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 550bbe59c8 remove trailing white-spaces from config/locales/pt.yml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 00:18:28 +00:00
Toshi MARUYAMA 82f7c5961f fix bad Portuguese translation (#9264)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 00:17:57 +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 4ac5a2c338 Rails3: model: replace deprecated 'after_destroy' method at Message model
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 15:42:07 +00:00
Toshi MARUYAMA c23052aa08 Rails3: model: replace deprecated 'after_update' method at Message model
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 15:41:25 +00:00
Toshi MARUYAMA f5df743446 Slovenian translation of trunk r7453 updated (#9298)
Contributed by Nejc Vidmar.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7454 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 13:59:31 +00:00
Toshi MARUYAMA 4ffca69d84 Rails3: model: replace deprecated 'before_validation' method at TimeEntry model
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 13:39:06 +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 a66f5c45d3 back out r7450 and comment out "month_names" (#9298)
*October* is missing.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 13:01:48 +00:00
Toshi MARUYAMA 7d9489eadd back out r7439 (#9298)
test_date_and_time_for_each_language at unit/lib/redmine/i18n_test.rb fails.

Slovenian translation of trunk r5957 and 1.2-stable r7434 updated.

Contributed by Nejc Vidmar.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 12:48:21 +00:00
Toshi MARUYAMA e683bd7582 Rails3: model: replace deprecated 'validate' method at TimeEntry model
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 12:06:33 +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 8280a0dbae remove trailing white-spaces from config/locales/sl.yml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 01:47:23 +00:00
Toshi MARUYAMA adbd317724 Slovenian translation of trunk r7438 (#9298)
Contributed by Nejc Vidmar.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 01:46:43 +00:00
Toshi MARUYAMA 90d352a55b Slovenian translation of trunk r5957 and 1.2-stable r7434 updated (#9298)
Contributed by Nejc Vidmar.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 01:46:12 +00:00
Toshi MARUYAMA e16d20f1b4 Rails3: model: replace deprecated 'before_save' method at WikiPage model
unit wiki_redirect_test.rb has this test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 00:54:37 +00:00
Toshi MARUYAMA ec1b9f38f3 Rails3: model: replace deprecated 'before_destroy' method at WikiPage model
test_redirects_removed_when_deleting_page at unit wiki_redirect_test.rb has this test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 00:53:53 +00:00
Toshi MARUYAMA 2d541a7e1b Rails3: model: replace deprecated 'after_save' method at IssueStatus model
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 23:50:52 +00:00
Toshi MARUYAMA 579acce9f6 Rails3: model: replace deprecated 'before_validation' method at Change model
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 13:56:16 +00:00
Toshi MARUYAMA 8e7b0a7bac fix typos in lib/redmine/hook.rb (#9291)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 09:47:31 +00:00
Toshi MARUYAMA 7e017e6c2c Rails3: model: replace deprecated 'validate' method at User model
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7431 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 06:14:11 +00:00