summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* Merged r12989 and r12997 (#16236).Jean-Philippe Lang2014-03-291-0/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@13020 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r12967 (#16321).Jean-Philippe Lang2014-03-172-0/+39
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@12978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r12944 (#16143).Jean-Philippe Lang2014-03-021-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@12947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r12896 (#16081).Jean-Philippe Lang2014-03-021-0/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@12945 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r12938 (#16169).Jean-Philippe Lang2014-02-281-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@12939 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r12929 from trunk to 2.5-stable (#16177)Toshi MARUYAMA2014-02-262-5/+5
| | | | | | scm: mercurial: add one "closed" branch to test repository. git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@12931 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r12899 (#16077).Jean-Philippe Lang2014-02-231-0/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@12919 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use escaped "Can't" constant at MailerTestToshi MARUYAMA2014-02-141-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12883 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: fix time related git adapter test failuresToshi MARUYAMA2014-02-141-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12882 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at ↵Toshi MARUYAMA2014-02-131-17/+67
| | | | | | | | ApplicationHelperTest#test_wiki_links See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12877 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at ↵Toshi MARUYAMA2014-02-131-6/+18
| | | | | | | | Redmine::WikiFormatting::MacrosTest See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12876 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at IssuesHelperTestToshi MARUYAMA2014-02-111-3/+7
| | | | | | See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test failure with Postgresql+ruby1.8 (#2549).Jean-Philippe Lang2014-02-091-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12870 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes #watcher_link return an empty string when given nil.Jean-Philippe Lang2014-02-091-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12869 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable the watching of news (#2549).Jean-Philippe Lang2014-02-091-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12866 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of ApplicationHelperTestToshi MARUYAMA2014-02-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12857 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Project.activities should always return a ActiveRecord::Relation (#15983).Jean-Philippe Lang2014-02-071-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12854 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure that Repository#extra_info returns a Hash or nil (#16032).Jean-Philippe Lang2014-02-061-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12848 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix wrong issue 'assigned-to-my-group' css class (#16038)Toshi MARUYAMA2014-02-061-10/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at ↵Toshi MARUYAMA2014-02-061-18/+52
| | | | | | | | ApplicationHelperTest#test_wiki_links_within_wiki_page_context See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12843 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use escaped "Can't" constant at IssuesHelperTestToshi MARUYAMA2014-02-061-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12842 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: add ApplicationHelper#truncate_single_line_raw method replacing ↵Toshi MARUYAMA2014-02-061-3/+3
| | | | | | truncate_single_line git-svn-id: http://svn.redmine.org/redmine/trunk@12830 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add tests of ApplicationHelper#link_to_issue subject and titleToshi MARUYAMA2014-02-061-0/+35
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12829 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at ↵Toshi MARUYAMA2014-02-061-2/+10
| | | | | | | | ApplicationHelperTest#test_pre_content_should_not_parse_wiki_and_redmine_links See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12828 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at ↵Toshi MARUYAMA2014-02-061-1/+2
| | | | | | | | ApplicationHelperTest#test_link_to_user_should_link_to_locked_user_if_current_user_is_admin See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12827 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at ↵Toshi MARUYAMA2014-02-061-1/+2
| | | | | | | | ApplicationHelperTest#test_link_to_user See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12826 e93f8b46-1217-0410-a6f0-8f06a7374b81
* do stricter ApplicationHelperTest#test_truncate_single_lineToshi MARUYAMA2014-02-061-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12825 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add tests of ApplicationHelper#truncate_single_lineToshi MARUYAMA2014-02-061-0/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12824 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at ↵Toshi MARUYAMA2014-02-051-12/+35
| | | | | | | | ApplicationHelperTest#test_wiki_links_anchor_option_should_prepend_page_title_to_href See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12823 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at ↵Toshi MARUYAMA2014-02-051-1/+2
| | | | | | | | ApplicationHelperTest#test_link_to_project See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12822 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at ↵Toshi MARUYAMA2014-02-051-1/+2
| | | | | | | | ApplicationHelperTest#test_link_to_attachment See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12821 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at ↵Toshi MARUYAMA2014-02-051-2/+4
| | | | | | | | ApplicationHelperTest#test_cross_project_redmine_links See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12820 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code format clean up ApplicationHelperTest#test_cross_project_redmine_linksToshi MARUYAMA2014-02-051-7/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12819 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at ↵Toshi MARUYAMA2014-02-051-4/+7
| | | | | | | | ApplicationHelperTest#test_attachment_links See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12813 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at ↵Toshi MARUYAMA2014-02-051-3/+4
| | | | | | | | ApplicationHelperTest#test_attachment_link_should_link_to_latest_attachment See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12812 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at ↵Toshi MARUYAMA2014-02-051-6/+8
| | | | | | | | ApplicationHelperTest#test_wiki_links_in_tables See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12811 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use escaped "Can't" constant at ApplicationHelperTestToshi MARUYAMA2014-02-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12807 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace hard-coded html with class at ↵Toshi MARUYAMA2014-02-051-3/+4
| | | | | | | | ApplicationHelperTest#test_redmine_links_with_a_different_project_before_current_project See r12784 comment. git-svn-id: http://svn.redmine.org/redmine/trunk@12806 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace shoulda context "#subjects" at GanttHelperTestToshi MARUYAMA2014-02-041-88/+75
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12790 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace shoulda context "#number_of_rows_on_project" at GanttHelperTestToshi MARUYAMA2014-02-041-18/+15
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12789 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace shoulda context "#number_of_rows" at GanttHelperTestToshi MARUYAMA2014-02-041-35/+29
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12788 e93f8b46-1217-0410-a6f0-8f06a7374b81
* define as private GanttHelperTest helper methodsToshi MARUYAMA2014-02-041-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12787 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: use link_to instead of hard coded html at ↵Toshi MARUYAMA2014-02-041-12/+27
| | | | | | | | | | | | | | | | ApplicationHelperTest#test_wiki_links_within_local_file_generation_context On Rails 4.0.2, test fails. <pre> --- expected +++ actual @@ -1 +1 @@ -"<p><a href=\"CookBook_documentation.html\" class=\"wiki-page\">documentation</a></p>" +"<p><a class=\"wiki-page\" href=\"CookBook_documentation.html\">documentation</a></p>" </pre> git-svn-id: http://svn.redmine.org/redmine/trunk@12784 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: insert long id to DB unless existing id in DB is not short ↵Toshi MARUYAMA2014-02-021-1/+113
| | | | | | id (#14361) git-svn-id: http://svn.redmine.org/redmine/trunk@12777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add asserting first and last changeset to ↵Toshi MARUYAMA2014-02-021-0/+4
| | | | | | test_fetch_changesets_from_scratch (#14361) git-svn-id: http://svn.redmine.org/redmine/trunk@12776 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: use scmid_for_assert in assert_parents (#14361)Toshi MARUYAMA2014-02-021-6/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12775 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: use scmid_for_assert in assert_entries (#14361)Toshi MARUYAMA2014-02-021-6/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12774 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: use scmid_for_assert in assert_entry (#14361)Toshi MARUYAMA2014-02-021-4/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12773 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: use scmid_for_assert in assert_copied_files (#14361)Toshi MARUYAMA2014-02-021-5/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12772 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add test helper method to switch short or long id (#14361)Toshi MARUYAMA2014-02-021-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12771 e93f8b46-1217-0410-a6f0-8f06a7374b81