summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Rails3: test: scm: subversion: use "repository_path_hash" for path paramToshi MARUYAMA2012-02-231-14/+28
| | | | | | Rails3 new route format returns path param as string not array. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8930 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for adding attachments to issues through the REST API (#8171).Jean-Philippe Lang2012-02-233-0/+111
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8928 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: scm: bazaar: use "repository_path_hash" for path paramToshi MARUYAMA2012-02-231-7/+14
| | | | | | Rails3 new route format returns path param as string not array. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8927 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: scm: cvs: use "repository_path_hash" for path paramToshi MARUYAMA2012-02-231-8/+16
| | | | | | Rails3 new route format returns path param as string not array. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: scm: filesystem: use "repository_path_hash" for path paramToshi MARUYAMA2012-02-231-5/+9
| | | | | | Rails3 new route format returns path param as string not array. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8925 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: scm: git: use "repository_path_hash" for path paramToshi MARUYAMA2012-02-231-13/+25
| | | | | | Rails3 new route format returns path param as string not array. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8924 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: scm: move "repository_path_hash" method in repositories ↵Toshi MARUYAMA2012-02-232-9/+7
| | | | | | | | routing test to test_helper.rb for common use Rails3 new route format returns path param as string not array. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8923 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use English as default language at ↵Toshi MARUYAMA2012-02-221-7/+11
| | | | | | | | | | | | | | "test_reminders_should_not_include_closed_issues" of unit mailer test On Rails 3.1.3, test fails and output is not English. <pre> Error: test_reminders_should_not_include_closed_issues(MailerTest) ActiveRecord::RecordInvalid: Validation failed: Tracker non è incluso nella lista test/unit/mailer_test.rb:459:in `test_reminders_should_not_include_closed_issues' </pre> git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8918 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed magic link in the note added when closing an issue by a commit from a ↵Jean-Philippe Lang2012-02-201-0/+38
| | | | | | subproject (#10284). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8917 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use assert_select instead of include? at "test_register" of unit mailer testToshi MARUYAMA2012-02-201-1/+5
| | | | | | | On Rails 3.0.11, token breaks with new line. So, test fails. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8916 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't use auth_sources fixtures when not needed.Jean-Philippe Lang2012-02-196-6/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8915 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed a test that writes into fixtures directory.Jean-Philippe Lang2012-02-191-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8914 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disabled on the fly registration for auth_source fixture.Jean-Philippe Lang2012-02-193-1/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8913 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Friendly response when the LDAP connection fails.Jean-Philippe Lang2012-02-191-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8911 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not recognize invalid textile attributes.Jean-Philippe Lang2012-02-171-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8902 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: replace "write_attribute" at unit model test for database order ↵Toshi MARUYAMA2012-02-171-2/+5
| | | | | | | | consistency (#5357) On Rails 3.0.11, "NoMethodError: private method `write_attribute'" error raises. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8899 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: replace "order" at unit model test of fetching from scratch (#5357)Toshi MARUYAMA2012-02-171-3/+2
| | | | | | | On Rails 3.0.11, this test fails. Revision order of Git and Mercurial is not date/time order. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8898 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a rake test that removes old unattached uploads (#10253).Jean-Philippe Lang2012-02-161-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8893 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Better handling of attachments when issue validation fails (#10253).Jean-Philippe Lang2012-02-164-5/+171
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8891 e93f8b46-1217-0410-a6f0-8f06a7374b81
* route: split issue preview route to adding and editingToshi MARUYAMA2012-02-151-2/+6
| | | | | | | "No route matches" error raises in "preview_issue_path" at app/views/issues/new.html.erb:35 on Rails 3.0.11 and Rails 3.1.3 new route format. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use with_settings instead of direct "Setting" at "test_index" of functional ↵Toshi MARUYAMA2012-02-151-14/+14
| | | | | | issues controller test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8885 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved redmine links escaping assertions to their own test.Jean-Philippe Lang2012-02-151-11/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8878 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for "Magic links" to notes (#2715).Jean-Philippe Lang2012-02-151-0/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8877 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that partial diffs are done against html instead of original code (#9143).Jean-Philippe Lang2012-02-151-0/+23
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8876 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes user autocompleters work with firstname and lastname.Jean-Philippe Lang2012-02-141-1/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8875 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: {{toc}} uses identical anchors for subsections with the same name ↵Jean-Philippe Lang2012-02-141-0/+27
| | | | | | (#8194). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8871 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: error when creating a project with a version format custom field ↵Jean-Philippe Lang2012-02-131-0/+7
| | | | | | (#10218). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8865 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent ActiveRecord::StaleObjectError in Issue#reschedule_after (#7920).Jean-Philippe Lang2012-02-121-0/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8864 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed potential error when sorting members without role (#10053).Jean-Philippe Lang2012-02-121-0/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8863 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updated test against r8860.Jean-Philippe Lang2012-02-121-2/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8861 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows custom styles in textile formatting using a white list of styles (#2416).Jean-Philippe Lang2012-02-121-0/+44
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8860 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: use default branch from HEAD (#10207)Toshi MARUYAMA2012-02-121-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8856 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: update test repository (#10207)Toshi MARUYAMA2012-02-123-9/+14
| | | | | | | | New "master-20120212" branch is added. Git branch is the reference to the specific revision. This branch points the same revision with "master" branch. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a News#commentable? method to easily specific additional rules.Jean-Philippe Lang2012-02-111-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8854 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent random failures due to params order.Jean-Philippe Lang2012-02-111-9/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8849 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for changeset/issue relations deletion.Jean-Philippe Lang2012-02-111-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8848 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that changesets parents associations are not deleted when deleting a ↵Jean-Philippe Lang2012-02-111-0/+9
| | | | | | repository. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8847 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Displays the full form when creating a version from the issue form so that ↵Jean-Philippe Lang2012-02-111-3/+27
| | | | | | required custom fields can be filled (#7398). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8845 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Only show statuses that can be applied to all issues on the bulk edit form ↵Jean-Philippe Lang2012-02-111-0/+20
| | | | | | (#10181). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: wrong section edit links when a heading contains inline code (#10199).Jean-Philippe Lang2012-02-111-0/+45
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8841 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: call "git log" only once instead of per branch in fetching ↵Toshi MARUYAMA2012-02-111-30/+36
| | | | | | revisions (#8857) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8839 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: raise exception if "git log" is error and block is given in lib ↵Toshi MARUYAMA2012-02-101-11/+19
| | | | | | revision method (#8857) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8837 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: clarify the purpose of the unit model test to fetch history ↵Toshi MARUYAMA2012-02-101-13/+17
| | | | | | editing revisions git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8832 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Bulk-edit custom fields through context menu (#6296).Jean-Philippe Lang2012-02-091-0/+96
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8824 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add explicit :excludes option to calling revision method in ↵Toshi MARUYAMA2012-02-091-1/+2
| | | | | | "test_revisions_includes_master_two_revs_from_origin" of unit lib test (#8857) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8822 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add test of get revisions from disjointed histories to unit lib ↵Toshi MARUYAMA2012-02-091-0/+17
| | | | | | test (#8857) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8821 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: update test repository (#8857)Toshi MARUYAMA2012-02-094-13/+15
| | | | | | | New disjointed history revisions are added. This test repository has two origins. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8820 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: remove redundant comma from ↵Toshi MARUYAMA2012-02-091-1/+1
| | | | | | test_revisions_includes_master_two_revs_from_origin of unit lib test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8819 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: code cleanup "test_branches" of unit lib testToshi MARUYAMA2012-02-091-12/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8818 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add lib test to get master branch revisions from origin (#8857)Toshi MARUYAMA2012-02-091-0/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8817 e93f8b46-1217-0410-a6f0-8f06a7374b81