Toshi MARUYAMA
a0baf7ee5d
fix wrong issue 'assigned-to-my-group' css class ( #16038 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-06 12:16:27 +00:00
Toshi MARUYAMA
3817f1e304
Rails4: replace hard-coded html with class at 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
2014-02-06 04:45:54 +00:00
Toshi MARUYAMA
50eed3f9ab
use escaped "Can't" constant at IssuesHelperTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-06 04:45:38 +00:00
Toshi MARUYAMA
ae7a4b9678
Rails4: add ApplicationHelper#truncate_single_line_raw method replacing truncate_single_line
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12830 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-06 03:33:33 +00:00
Toshi MARUYAMA
e4d152e84a
add tests of ApplicationHelper#link_to_issue subject and title
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-06 02:38:37 +00:00
Toshi MARUYAMA
b6668e3ebf
Rails4: replace hard-coded html with class at 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
2014-02-06 01:30:45 +00:00
Toshi MARUYAMA
fab81930f7
Rails4: replace hard-coded html with class at 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
2014-02-06 01:30:29 +00:00
Toshi MARUYAMA
54de8a19d1
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_link_to_user
...
See r12784 comment.
git-svn-id: http://svn.redmine.org/redmine/trunk@12826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-06 01:30:12 +00:00
Toshi MARUYAMA
789523db5f
do stricter ApplicationHelperTest#test_truncate_single_line
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-06 01:29:56 +00:00
Toshi MARUYAMA
fc4004d0ba
add tests of ApplicationHelper#truncate_single_line
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-06 00:36:50 +00:00
Toshi MARUYAMA
325b3db186
Rails4: replace hard-coded html with class at 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
2014-02-05 08:56:35 +00:00
Toshi MARUYAMA
936052f9f6
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_link_to_project
...
See r12784 comment.
git-svn-id: http://svn.redmine.org/redmine/trunk@12822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-05 08:56:19 +00:00
Toshi MARUYAMA
89920d2714
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_link_to_attachment
...
See r12784 comment.
git-svn-id: http://svn.redmine.org/redmine/trunk@12821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-05 08:56:03 +00:00
Toshi MARUYAMA
7928ce3797
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_cross_project_redmine_links
...
See r12784 comment.
git-svn-id: http://svn.redmine.org/redmine/trunk@12820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-05 08:55:49 +00:00
Toshi MARUYAMA
0a54a50813
code format clean up ApplicationHelperTest#test_cross_project_redmine_links
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-05 08:55:32 +00:00
Toshi MARUYAMA
47353387c1
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_attachment_links
...
See r12784 comment.
git-svn-id: http://svn.redmine.org/redmine/trunk@12813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-05 04:14:58 +00:00
Toshi MARUYAMA
79e5570b27
Rails4: replace hard-coded html with class at 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
2014-02-05 04:14:43 +00:00
Toshi MARUYAMA
2f43fca8f0
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_wiki_links_in_tables
...
See r12784 comment.
git-svn-id: http://svn.redmine.org/redmine/trunk@12811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-05 04:14:27 +00:00
Toshi MARUYAMA
bd6d45428f
use escaped "Can't" constant at ApplicationHelperTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-05 00:42:50 +00:00
Toshi MARUYAMA
52b5a26507
Rails4: replace hard-coded html with class at 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
2014-02-05 00:42:34 +00:00
Toshi MARUYAMA
760f88bd58
use escaped "Can't" constant at IssueStatusesControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 23:52:44 +00:00
Toshi MARUYAMA
03f7281f82
use escaped "can't" constant at IssueStatusesControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 23:52:28 +00:00
Toshi MARUYAMA
98249335d5
use escaped "can't" constant at NewsControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 23:52:12 +00:00
Toshi MARUYAMA
031e4fde63
use escaped "can't" constant at ProjectsControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 23:51:56 +00:00
Toshi MARUYAMA
afa18701fd
use escaped "can't" constant at AuthSourcesControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 23:51:39 +00:00
Toshi MARUYAMA
61b5a44b1a
Rails4: fix "assert_template 'calendar'" fails at CalendarsControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 23:51:23 +00:00
Toshi MARUYAMA
8bdb66bf98
Rails4: use "assert_template 'context_menus/time_entries'" at ContextMenusControllerTest
...
This asserting does not fail, but use same logic with "assert_template 'context_menus/issues'"
git-svn-id: http://svn.redmine.org/redmine/trunk@12799 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 23:51:07 +00:00
Toshi MARUYAMA
035c1b9a18
Rails4: fix "assert_template 'context_menu'" fails at ContextMenusControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12798 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 23:50:49 +00:00
Toshi MARUYAMA
67e3af6c97
code format clean up ProjectsControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12796 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 23:50:14 +00:00
Toshi MARUYAMA
f1572de51e
code format clean up AuthSourcesControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12795 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 23:49:55 +00:00
Toshi MARUYAMA
e91bce3d05
use escaped "Can't" constant at TrackersControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12794 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 10:07:57 +00:00
Toshi MARUYAMA
b825198e0f
define constant of escaped "Can't" for tests
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 10:07:41 +00:00
Toshi MARUYAMA
a6d4cdb25b
use escaped "can't" constant at TrackersControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12792 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 10:07:19 +00:00
Toshi MARUYAMA
1f2c5ac08e
Rails4: fix "assert_template 'form'" fails at IssuesControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12791 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 10:07:02 +00:00
Toshi MARUYAMA
a464abefdd
replace shoulda context "#subjects" at GanttHelperTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 10:06:46 +00:00
Toshi MARUYAMA
3ad3c691cc
replace shoulda context "#number_of_rows_on_project" at GanttHelperTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 10:06:28 +00:00
Toshi MARUYAMA
8543dfd109
replace shoulda context "#number_of_rows" at GanttHelperTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 10:06:11 +00:00
Toshi MARUYAMA
10c6b0e84f
define as private GanttHelperTest helper methods
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 10:05:54 +00:00
Toshi MARUYAMA
cfcdf06f89
replace shoulda context "with workflow privilege" at IssuesControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 07:50:55 +00:00
Toshi MARUYAMA
06c53f878f
replace shoulda context "without workflow privilege" at IssuesControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 07:50:39 +00:00
Toshi MARUYAMA
05b2bd173e
Rails4: use link_to instead of hard coded html at 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
2014-02-04 07:50:20 +00:00
Toshi MARUYAMA
31cab06f91
code format clean up escaped "can't" constant
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 04:41:27 +00:00
Toshi MARUYAMA
0d4551c270
use escaped "can't" constant at TrackersControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 04:32:37 +00:00
Toshi MARUYAMA
c38fa97165
use escaped "can't" constant at WikisControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 04:32:20 +00:00
Toshi MARUYAMA
5e94d388b5
define constant of escaped "can't" for tests
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 04:32:04 +00:00
Toshi MARUYAMA
fe7c6057f9
code format clean up TrackersControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 04:31:46 +00:00
Toshi MARUYAMA
669a16376f
code format clean up WikisControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 04:31:29 +00:00
Toshi MARUYAMA
b87a7b8984
scm: mercurial: insert long id to DB unless existing id in DB is not short id ( #14361 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 14:53:16 +00:00
Toshi MARUYAMA
85f15f694a
scm: mercurial: add asserting first and last changeset to test_fetch_changesets_from_scratch ( #14361 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 13:08:50 +00:00
Toshi MARUYAMA
f9e7c24733
scm: mercurial: use scmid_for_assert in assert_parents ( #14361 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 12:20:32 +00:00