summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Rails 3.1 compatibility.Jean-Philippe Lang2012-03-041-0/+27
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9067 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extracted auto_link and auto_mailto to a module.Jean-Philippe Lang2012-03-042-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9063 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use regular create! instead of generate!Jean-Philippe Lang2012-03-031-16/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9062 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes all #verify calls in controllers. Verification is handled at routing ↵Jean-Philippe Lang2012-03-037-40/+56
| | | | | | level now that the default route is removed. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9061 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for displaying list custom fields on the new issue form.Jean-Philippe Lang2012-03-021-0/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9058 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for when updating a news fails.Jean-Philippe Lang2012-03-021-0/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9054 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds functional test for #test_connection.Jean-Philippe Lang2012-03-021-0/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9053 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds functional tests for LdapAuthSourcesController.Jean-Philippe Lang2012-03-022-36/+96
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9052 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use valid filters in #test_index_with_sort_filters.Jean-Philippe Lang2012-03-021-5/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9050 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed obsolete helper empty test class.Jean-Philippe Lang2012-03-011-4/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9048 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Random test failures in #test_..._if_an_exception_is_raised with ↵Jean-Philippe Lang2012-03-011-0/+2
| | | | | | ruby1.8.7-p358 and sqlite3. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9047 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that the bulk edit/copy form does not propose versions and categories ↵Jean-Philippe Lang2012-03-011-0/+22
| | | | | | for the target project (#10350). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9046 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes LDAP test.Jean-Philippe Lang2012-03-011-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9045 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an optional LDAP filter (#1060).Jean-Philippe Lang2012-03-011-0/+30
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9044 e93f8b46-1217-0410-a6f0-8f06a7374b81
* MailHandler: fixed that sender's fullname is not unquoted (#10334).Jean-Philippe Lang2012-03-012-0/+20
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9043 e93f8b46-1217-0410-a6f0-8f06a7374b81
* back out from r9031 to r9036Toshi MARUYAMA2012-03-016-14/+14
| | | | | | | On Rails3, 'to_s' is not alias of 'encoded'. 'to_s' is alias of 'decoded'. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9037 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: add .to_s for mail's bodies check at unit/mailer_test.rbToshi MARUYAMA2012-03-011-3/+3
| | | | | | | On Rails3, mail's bodies must be checked calling 'encoded'. 'to_s' is alias of 'encoded' of Mail::Message of Rails3. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9036 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: add .to_s for mail's bodies check at unit/repository_test.rbToshi MARUYAMA2012-03-011-1/+1
| | | | | | | On Rails3, mail's bodies must be checked calling 'encoded'. 'to_s' is alias of 'encoded' of Mail::Message of Rails3. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9035 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: add .to_s for mail's bodies check at ↵Toshi MARUYAMA2012-03-011-3/+3
| | | | | | | | | functional/users_controller_test.rb On Rails3, mail's bodies must be checked calling 'encoded'. 'to_s' is alias of 'encoded' of Mail::Message of Rails3. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9034 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: add .to_s for mail's bodies check at ↵Toshi MARUYAMA2012-03-011-1/+1
| | | | | | | | | functional/messages_controller_test.rb On Rails3, mail's bodies must be checked calling 'encoded'. 'to_s' is alias of 'encoded' of Mail::Message of Rails3. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9033 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: add .to_s for mail's bodies check at ↵Toshi MARUYAMA2012-03-011-5/+5
| | | | | | | | | functional/issues_controller_test.rb On Rails3, mail's bodies must be checked calling 'encoded'. 'to_s' is alias of 'encoded' of Mail::Message of Rails3. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9032 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: add .to_s for mail's bodies check at ↵Toshi MARUYAMA2012-03-011-1/+1
| | | | | | | | | functional/files_controller_test.rb On Rails3, mail's bodies must be checked calling 'encoded'. 'to_s' is alias of 'encoded' of Mail::Message of Rails3. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9031 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed potential test failure.Jean-Philippe Lang2012-02-281-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9028 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed potential test failure.Jean-Philippe Lang2012-02-281-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9027 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed potential test failure.Jean-Philippe Lang2012-02-281-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9026 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed potential test failure.Jean-Philippe Lang2012-02-281-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9025 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed potential test failure.Jean-Philippe Lang2012-02-281-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9024 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Override @#url_for@ in AM to force generation of absolute links (#10251).Etienne Massip2012-02-273-66/+96
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9022 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for project menu item when displaying a revision.Jean-Philippe Lang2012-02-271-0/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9020 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for when displaying the new message form on boards#show.Jean-Philippe Lang2012-02-271-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9019 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a helper for displaying validation error messages.Jean-Philippe Lang2012-02-261-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9017 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: cvs: fix error of test_fetch_changesets_incremental at unit ↵Toshi MARUYAMA2012-02-261-5/+7
| | | | | | | | | 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@9016 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved tests about session reset to functional tests.Jean-Philippe Lang2012-02-262-18/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9014 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rewrite test without shoulda macros.Jean-Philippe Lang2012-02-251-11/+24
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9009 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed assertions on blank template.Jean-Philippe Lang2012-02-251-2/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9008 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails 3.1 compatibility.Jean-Philippe Lang2012-02-251-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9007 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails 3.1 compatibility.Jean-Philippe Lang2012-02-251-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9006 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails 3.1 compatibility.Jean-Philippe Lang2012-02-251-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9005 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails 3.1 compatibility.Jean-Philippe Lang2012-02-251-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9004 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Can not use Project#find on scopes with Rails 3.1.Jean-Philippe Lang2012-02-251-1/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9001 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Clean up assertion.Jean-Philippe Lang2012-02-251-2/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8999 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds missing format parameter.Jean-Philippe Lang2012-02-251-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8992 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not do assertions on mail class.Jean-Philippe Lang2012-02-256-10/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8991 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: fix ordering functional/comments_controller_test.rbToshi MARUYAMA2012-02-251-1/+1
| | | | | | | | | | | | | | | On Rails 3.0.11, test fails. <pre> Failure: <"This is a test comment"> expected but was <"my first comment">. test_add_comment(CommentsControllerTest) test/functional/comments_controller_test.rb:34:in `test_add_comment' </pre> Contributed by Sylvain Utard. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8987 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use fixture.Jean-Philippe Lang2012-02-241-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8983 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Potential test failure fixed.Jean-Philippe Lang2012-02-241-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use subclasses method instead of class variable.Jean-Philippe Lang2012-02-241-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: cvs: add test to override human_attribute_nameToshi MARUYAMA2012-02-241-0/+60
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8968 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: filesystem: add test to override human_attribute_name of "Root directory"Toshi MARUYAMA2012-02-241-0/+27
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8967 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: remove unnecessary log_encoding from overriding ↵Toshi MARUYAMA2012-02-241-3/+2
| | | | | | human_attribute_name test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8966 e93f8b46-1217-0410-a6f0-8f06a7374b81