Commit Graph

  • dc50edae5e Adds a template for API error messages so that it does not depend on AR::Errors serialization. Jean-Philippe Lang 2012-03-04 15:16:50 +00:00
  • 5803bf9fc4 Strip login and password read from the email body. Jean-Philippe Lang 2012-03-04 14:08:19 +00:00
  • df89c24e37 Adds an helper to get the body of an email in tests. Jean-Philippe Lang 2012-03-04 14:01:54 +00:00
  • 67d52acb84 Rails 3.1 compatibility. Jean-Philippe Lang 2012-03-04 13:55:25 +00:00
  • fa12fad4f2 Include ERB::Util in helpers tests. Jean-Philippe Lang 2012-03-04 13:53:38 +00:00
  • 8071b71c5d No need to delete fixtures. Jean-Philippe Lang 2012-03-04 13:48:44 +00:00
  • 80663e694d Removed shoulda assertions. Jean-Philippe Lang 2012-03-04 13:43:17 +00:00
  • a6992aa6fc Rails 3.1 compatibility. Jean-Philippe Lang 2012-03-04 13:39:57 +00:00
  • 3aaf2b9ed0 Adds helpers for testing email body. Jean-Philippe Lang 2012-03-04 13:28:18 +00:00
  • b1d5f42237 set svn:eol-style native lib/redmine/scm/adapters/mercurial/redminehelper.py Toshi MARUYAMA 2012-03-04 13:15:00 +00:00
  • 9b576d7d0a Rails3: :order option has no effect here because of the default_scope on Enumeration. Jean-Philippe Lang 2012-03-04 12:50:19 +00:00
  • 45e2e57afb Test cleanup. Jean-Philippe Lang 2012-03-04 12:44:58 +00:00
  • 7ec8a9a100 Rails 3.1 compatibility. Jean-Philippe Lang 2012-03-04 12:43:55 +00:00
  • b06223738e Test cleanup. Jean-Philippe Lang 2012-03-04 12:41:31 +00:00
  • d862843c9d Renamed Mailer#test to Mailer#test_email. Jean-Philippe Lang 2012-03-04 12:38:34 +00:00
  • 1b923819e8 Removed some generate! calls. Jean-Philippe Lang 2012-03-04 12:29:52 +00:00
  • 7dbc3e4774 Removed some generate! calls. Jean-Philippe Lang 2012-03-04 12:15:57 +00:00
  • bcd8c64384 No need to save the record. Jean-Philippe Lang 2012-03-04 12:03:59 +00:00
  • c30a6dffe0 Use :joins instead of :include. Jean-Philippe Lang 2012-03-04 11:54:52 +00:00
  • 60b0a6c4b8 Removed sort order on issues association. Jean-Philippe Lang 2012-03-04 11:53:15 +00:00
  • bf05656c36 Rails 3.1 compatibility. Jean-Philippe Lang 2012-03-04 11:45:15 +00:00
  • 64d843a4d7 Rails 3.1 compatibility. Jean-Philippe Lang 2012-03-04 11:41:10 +00:00
  • 858e317e6e set svn:eol-style native test/exemplars/version_exemplar.rb Toshi MARUYAMA 2012-03-04 11:08:32 +00:00
  • af75583b23 Adds Redmine::Utils.random_hex for generating a random hex string. Jean-Philippe Lang 2012-03-04 11:05:02 +00:00
  • 8db9ffbd8b set svn:eol-style native lib/tasks/migrate_plugins.rake Toshi MARUYAMA 2012-03-04 11:00:28 +00:00
  • a0de4c1576 set svn:eol-style native lib/tasks/migrate_from_mantis.rake Toshi MARUYAMA 2012-03-04 10:55:12 +00:00
  • d13ae4604c set svn:eol-style native lib/tasks/load_default_data.rake Toshi MARUYAMA 2012-03-04 10:45:33 +00:00
  • 70ced2f2af Rails 3.1 compatibility. Jean-Philippe Lang 2012-03-04 10:44:59 +00:00
  • eb5a9f83c9 set svn:eol-style native lib/tasks/fetch_changesets.rake Toshi MARUYAMA 2012-03-04 10:35:28 +00:00
  • c7b1a42d19 Adds Redmine::Plugin.public_directory to be used instead of Engines.public_directory. Jean-Philippe Lang 2012-03-04 10:29:47 +00:00
  • c474d59b0b set svn:eol-style native lib/tasks/email.rake Toshi MARUYAMA 2012-03-04 10:24:01 +00:00
  • 739820141a Extracted auto_link and auto_mailto to a module. Jean-Philippe Lang 2012-03-04 10:04:46 +00:00
  • b4f22b93e9 Use regular create! instead of generate! Jean-Philippe Lang 2012-03-03 19:47:20 +00:00
  • b3866b05c1 Removes all #verify calls in controllers. Verification is handled at routing level now that the default route is removed. Jean-Philippe Lang 2012-03-03 15:09:20 +00:00
  • bf8f854546 Removed obsolete demo environment file. Jean-Philippe Lang 2012-03-03 12:43:59 +00:00
  • 41fffe1b97 Use require instead of require_library_or_gem. Jean-Philippe Lang 2012-03-03 12:41:23 +00:00
  • 7edf345fbe Adds a test for displaying list custom fields on the new issue form. Jean-Philippe Lang 2012-03-02 16:57:57 +00:00
  • 9c4014f446 Use a single query to retrieve issues on the roadmap. Jean-Philippe Lang 2012-03-02 16:27:14 +00:00
  • 1c0988cad3 Use a single query to retrieve issues_count, open_issues_count and closed_issues_count. Jean-Philippe Lang 2012-03-02 16:26:06 +00:00
  • fe481453c4 Use #issues_count which is already retrieved. Jean-Philippe Lang 2012-03-02 16:23:10 +00:00
  • 9634fe054a Adds a test for when updating a news fails. Jean-Philippe Lang 2012-03-02 11:43:33 +00:00
  • 9ffccf5304 Adds functional test for #test_connection. Jean-Philippe Lang 2012-03-02 11:31:44 +00:00
  • 8fda77dc40 Adds functional tests for LdapAuthSourcesController. Jean-Philippe Lang 2012-03-02 11:25:19 +00:00
  • 4eb7ac1107 Fixed DarcsAdapter for ruby 1.9.3. Jean-Philippe Lang 2012-03-02 08:40:41 +00:00
  • 53f9979696 Use valid filters in #test_index_with_sort_filters. Jean-Philippe Lang 2012-03-02 07:38:43 +00:00
  • 55bbfa19b6 Prevent test:scm:setup:* task to overwrite if the test repository already exists. Jean-Philippe Lang 2012-03-01 21:01:37 +00:00
  • f1358200d6 Removed obsolete helper empty test class. Jean-Philippe Lang 2012-03-01 20:46:06 +00:00
  • 2009a9ff25 Random test failures in #test_..._if_an_exception_is_raised with ruby1.8.7-p358 and sqlite3. Jean-Philippe Lang 2012-03-01 20:34:41 +00:00
  • 7448e0dbc4 Fixed that the bulk edit/copy form does not propose versions and categories for the target project (#10350). Jean-Philippe Lang 2012-03-01 20:22:08 +00:00
  • ac46497f1a Fixes LDAP test. Jean-Philippe Lang 2012-03-01 19:47:03 +00:00
  • 60741b3e1c Adds an optional LDAP filter (#1060). Jean-Philippe Lang 2012-03-01 16:26:10 +00:00
  • ab46c52d4a MailHandler: fixed that sender's fullname is not unquoted (#10334). Jean-Philippe Lang 2012-03-01 15:32:34 +00:00
  • 09ea1fd58d Merged r9024 from trunk. Jean-Philippe Lang 2012-03-01 15:15:56 +00:00
  • 8eb4bc9c29 Merged r9025 from trunk. Jean-Philippe Lang 2012-03-01 15:15:24 +00:00
  • ffc6c99ae8 Merged r9026 from trunk. Jean-Philippe Lang 2012-03-01 15:14:52 +00:00
  • 294accf197 Merged r9027 from trunk. Jean-Philippe Lang 2012-03-01 15:14:15 +00:00
  • 8270de39f0 Merged r9028 from trunk. Jean-Philippe Lang 2012-03-01 15:13:39 +00:00
  • 2df6c99e67 back out from r9031 to r9036 Toshi MARUYAMA 2012-03-01 11:40:22 +00:00
  • 30ce0cd8fb Rails3: test: add .to_s for mail's bodies check at unit/mailer_test.rb Toshi MARUYAMA 2012-03-01 08:10:27 +00:00
  • 7cdce2aeac Rails3: test: add .to_s for mail's bodies check at unit/repository_test.rb Toshi MARUYAMA 2012-03-01 08:09:35 +00:00
  • e70f7ba75c Rails3: test: add .to_s for mail's bodies check at functional/users_controller_test.rb Toshi MARUYAMA 2012-03-01 08:08:58 +00:00
  • fd18bcef95 Rails3: test: add .to_s for mail's bodies check at functional/messages_controller_test.rb Toshi MARUYAMA 2012-03-01 08:08:25 +00:00
  • 41217ffea0 Rails3: test: add .to_s for mail's bodies check at functional/issues_controller_test.rb Toshi MARUYAMA 2012-03-01 08:07:41 +00:00
  • 12ba0ba1c5 Rails3: test: add .to_s for mail's bodies check at functional/files_controller_test.rb Toshi MARUYAMA 2012-03-01 08:07:10 +00:00
  • e1d1a3a0c2 Fixes r9029. Jean-Philippe Lang 2012-02-28 06:27:23 +00:00
  • df3c2466f8 Implements the behaviour expected in user_test. Jean-Philippe Lang 2012-02-28 05:46:33 +00:00
  • c0048f7954 Fixed potential test failure. Jean-Philippe Lang 2012-02-28 05:35:33 +00:00
  • c3d079aeb8 Fixed potential test failure. Jean-Philippe Lang 2012-02-28 05:33:46 +00:00
  • 586661caad Fixed potential test failure. Jean-Philippe Lang 2012-02-28 05:29:36 +00:00
  • c7e81dfa9b Fixed potential test failure. Jean-Philippe Lang 2012-02-28 05:25:26 +00:00
  • 774e5f3b5e Fixed potential test failure. Jean-Philippe Lang 2012-02-28 05:25:04 +00:00
  • e6b9ddad18 Mailer#url_for not called in views with Rails 3.1. Jean-Philippe Lang 2012-02-27 20:43:25 +00:00
  • 7056649a4b Override @#url_for@ in AM to force generation of absolute links (#10251). Etienne Massip 2012-02-27 18:42:03 +00:00
  • 81554eae5a Fixed routing failure with jruby 1.6. Jean-Philippe Lang 2012-02-27 18:35:10 +00:00
  • fba7789bb1 Adds a test for project menu item when displaying a revision. Jean-Philippe Lang 2012-02-27 15:26:35 +00:00
  • 4384db597c Adds a test for when displaying the new message form on boards#show. Jean-Philippe Lang 2012-02-27 15:11:50 +00:00
  • 0d2a22f37a Use controller_name and action_name instead of params. Jean-Philippe Lang 2012-02-26 19:20:37 +00:00
  • 7c568cccaf Adds a helper for displaying validation error messages. Jean-Philippe Lang 2012-02-26 18:07:13 +00:00
  • 9c264a7e66 Rails3: scm: cvs: fix error of test_fetch_changesets_incremental at unit model test Toshi MARUYAMA 2012-02-26 14:09:21 +00:00
  • ad2036aaba Rails 3.1 compatibility (order declared on association takes precedence). Jean-Philippe Lang 2012-02-26 13:05:19 +00:00
  • 39aa4cac86 Moved tests about session reset to functional tests. Jean-Philippe Lang 2012-02-26 12:00:41 +00:00
  • 65b4d8a649 Make sure that projects_to_search is a Project Array. Jean-Philippe Lang 2012-02-26 11:42:29 +00:00
  • 3363e4f790 remove trailing white-spaces from app/models/attachment.rb Toshi MARUYAMA 2012-02-26 10:16:09 +00:00
  • aa0935c13b Rails3: html_safe for project_tree_options_for_select method in application helper Toshi MARUYAMA 2012-02-26 07:10:54 +00:00
  • 8e899d9677 remove trailing white-spaces from vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb Toshi MARUYAMA 2012-02-26 04:28:12 +00:00
  • 33d4821923 Rewrite test without shoulda macros. Jean-Philippe Lang 2012-02-25 20:47:23 +00:00
  • 4f153083ac Removed assertions on blank template. Jean-Philippe Lang 2012-02-25 20:42:31 +00:00
  • 4f31027f08 Rails 3.1 compatibility. Jean-Philippe Lang 2012-02-25 16:33:00 +00:00
  • 62c8ad4df4 Rails 3.1 compatibility. Jean-Philippe Lang 2012-02-25 16:31:13 +00:00
  • 888287c602 Rails 3.1 compatibility. Jean-Philippe Lang 2012-02-25 15:23:20 +00:00
  • 10a37f4b6b Rails 3.1 compatibility. Jean-Philippe Lang 2012-02-25 15:20:28 +00:00
  • 2b12146e81 Updated Ruby required version. Etienne Massip 2012-02-25 13:26:51 +00:00
  • b6742bda3d Code cleanup. Jean-Philippe Lang 2012-02-25 13:04:34 +00:00
  • cf9154f924 Can not use Project#find on scopes with Rails 3.1. Jean-Philippe Lang 2012-02-25 12:57:30 +00:00
  • 0cc60f3631 Use content_tag for empty option. Jean-Philippe Lang 2012-02-25 12:37:28 +00:00
  • 21607751c9 Clean up assertion. Jean-Philippe Lang 2012-02-25 12:35:22 +00:00
  • 56a5f598f1 Preserve xml output with Rails 3.1. Jean-Philippe Lang 2012-02-25 12:19:56 +00:00
  • 231683e8d7 Undefined #builtin= with Rails 3.1.3. Jean-Philippe Lang 2012-02-25 11:48:29 +00:00
  • a98b65c2d4 Fixed migration broken with Rails 3.1.3 (#10320). Jean-Philippe Lang 2012-02-25 11:46:19 +00:00
  • f01b97eb06 YAML files parsing issues. Jean-Philippe Lang 2012-02-25 11:33:30 +00:00