]>
source.dussan.org Git - redmine.git/log
Jean-Philippe Lang [Sun, 9 Feb 2014 16:34:41 +0000 (16:34 +0000)]
Test failure with Postgresql+ruby1.8 (#2549).
git-svn-id: http://svn.redmine.org/redmine/trunk@12870
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 9 Feb 2014 12:04:44 +0000 (12:04 +0000)]
Makes #watcher_link return an empty string when given nil.
git-svn-id: http://svn.redmine.org/redmine/trunk@12869
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 9 Feb 2014 12:01:22 +0000 (12:01 +0000)]
Display watch link only when inside project with logged-in user (#2549).
git-svn-id: http://svn.redmine.org/redmine/trunk@12868
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 9 Feb 2014 11:58:19 +0000 (11:58 +0000)]
Use spaces instead of tabs.
git-svn-id: http://svn.redmine.org/redmine/trunk@12867
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 9 Feb 2014 11:54:21 +0000 (11:54 +0000)]
Enable the watching of news (#2549).
git-svn-id: http://svn.redmine.org/redmine/trunk@12866
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 9 Feb 2014 10:49:57 +0000 (10:49 +0000)]
Check that target tables exist before proceeding.
git-svn-id: http://svn.redmine.org/redmine/trunk@12865
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 8 Feb 2014 11:16:13 +0000 (11:16 +0000)]
Prevent inline images to overflow (#3163).
git-svn-id: http://svn.redmine.org/redmine/trunk@12864
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 8 Feb 2014 08:00:23 +0000 (08:00 +0000)]
Updates for 2.4.3 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@12861
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 8 Feb 2014 01:12:17 +0000 (01:12 +0000)]
Bulgarian translation updated by Ivan Cenov (#16049)
git-svn-id: http://svn.redmine.org/redmine/trunk@12859
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Feb 2014 23:11:53 +0000 (23:11 +0000)]
add "git --version" to .travis.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@12858
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Feb 2014 12:12:09 +0000 (12:12 +0000)]
fix source indent of ApplicationHelperTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12857
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 7 Feb 2014 11:45:25 +0000 (11:45 +0000)]
Reverts r12855.
git-svn-id: http://svn.redmine.org/redmine/trunk@12856
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 7 Feb 2014 09:26:27 +0000 (09:26 +0000)]
Adds JS response support to #render_error (#15760).
git-svn-id: http://svn.redmine.org/redmine/trunk@12855
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 7 Feb 2014 08:36:49 +0000 (08:36 +0000)]
Project.activities should always return a ActiveRecord::Relation (#15983).
git-svn-id: http://svn.redmine.org/redmine/trunk@12854
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 7 Feb 2014 08:00:39 +0000 (08:00 +0000)]
Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@12851
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 7 Feb 2014 07:58:35 +0000 (07:58 +0000)]
Updated locales.
git-svn-id: http://svn.redmine.org/redmine/trunk@12850
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 7 Feb 2014 07:57:59 +0000 (07:57 +0000)]
Show tabs for existing custom field types only and adds a view for choosing the type when adding a new custom field.
git-svn-id: http://svn.redmine.org/redmine/trunk@12849
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Thu, 6 Feb 2014 20:23:06 +0000 (20:23 +0000)]
Make sure that Repository#extra_info returns a Hash or nil (#16032).
git-svn-id: http://svn.redmine.org/redmine/trunk@12848
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Feb 2014 12:16:27 +0000 (12:16 +0000)]
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
Toshi MARUYAMA [Thu, 6 Feb 2014 04:45:54 +0000 (04:45 +0000)]
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
Toshi MARUYAMA [Thu, 6 Feb 2014 04:45:38 +0000 (04:45 +0000)]
use escaped "Can't" constant at IssuesHelperTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12842
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Feb 2014 03:36:40 +0000 (03:36 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/issues/_list_simple.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12841
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Feb 2014 03:36:24 +0000 (03:36 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/repositories/revision.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12840
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Feb 2014 03:36:08 +0000 (03:36 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/repositories/_dir_list_content.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12839
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Feb 2014 03:35:52 +0000 (03:35 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/repositories/_revisions.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12838
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Feb 2014 03:35:36 +0000 (03:35 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/search/index.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12837
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Feb 2014 03:35:19 +0000 (03:35 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/auto_completes/issues.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12836
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Feb 2014 03:35:01 +0000 (03:35 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at ApplicationHelper#format_activity_description
git-svn-id: http://svn.redmine.org/redmine/trunk@12835
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Feb 2014 03:34:45 +0000 (03:34 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at ApplicationHelper#link_to_message
git-svn-id: http://svn.redmine.org/redmine/trunk@12834
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Feb 2014 03:34:27 +0000 (03:34 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at ApplicationHelper#parse_redmine_links
git-svn-id: http://svn.redmine.org/redmine/trunk@12833
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Feb 2014 03:34:09 +0000 (03:34 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at lib/redmine/export/pdf.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@12832
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Feb 2014 03:33:51 +0000 (03:33 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at ApplicationHelper#link_to_issue
git-svn-id: http://svn.redmine.org/redmine/trunk@12831
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Feb 2014 03:33:33 +0000 (03:33 +0000)]
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
Toshi MARUYAMA [Thu, 6 Feb 2014 02:38:37 +0000 (02:38 +0000)]
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
Toshi MARUYAMA [Thu, 6 Feb 2014 01:30:45 +0000 (01:30 +0000)]
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
Toshi MARUYAMA [Thu, 6 Feb 2014 01:30:29 +0000 (01:30 +0000)]
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
Toshi MARUYAMA [Thu, 6 Feb 2014 01:30:12 +0000 (01:30 +0000)]
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
Toshi MARUYAMA [Thu, 6 Feb 2014 01:29:56 +0000 (01:29 +0000)]
do stricter ApplicationHelperTest#test_truncate_single_line
git-svn-id: http://svn.redmine.org/redmine/trunk@12825
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Feb 2014 00:36:50 +0000 (00:36 +0000)]
add tests of ApplicationHelper#truncate_single_line
git-svn-id: http://svn.redmine.org/redmine/trunk@12824
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 5 Feb 2014 08:56:35 +0000 (08:56 +0000)]
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
Toshi MARUYAMA [Wed, 5 Feb 2014 08:56:19 +0000 (08:56 +0000)]
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
Toshi MARUYAMA [Wed, 5 Feb 2014 08:56:03 +0000 (08:56 +0000)]
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
Toshi MARUYAMA [Wed, 5 Feb 2014 08:55:49 +0000 (08:55 +0000)]
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
Toshi MARUYAMA [Wed, 5 Feb 2014 08:55:32 +0000 (08:55 +0000)]
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
Toshi MARUYAMA [Wed, 5 Feb 2014 08:55:17 +0000 (08:55 +0000)]
code format clean up app/views/issues/_list_simple.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12818
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 5 Feb 2014 08:55:01 +0000 (08:55 +0000)]
remove unneeded h() from app/views/repositories/_revisions.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12817
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 5 Feb 2014 08:54:46 +0000 (08:54 +0000)]
remove unneeded h() from app/views/repositories/_dir_list_content.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12816
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 5 Feb 2014 08:54:28 +0000 (08:54 +0000)]
remove unneeded h() from app/views/issues/_list_simple.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12815
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 5 Feb 2014 08:54:12 +0000 (08:54 +0000)]
code format clean up app/views/search/index.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12814
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 5 Feb 2014 04:14:58 +0000 (04:14 +0000)]
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
Toshi MARUYAMA [Wed, 5 Feb 2014 04:14:43 +0000 (04:14 +0000)]
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
Toshi MARUYAMA [Wed, 5 Feb 2014 04:14:27 +0000 (04:14 +0000)]
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
Toshi MARUYAMA [Wed, 5 Feb 2014 03:24:39 +0000 (03:24 +0000)]
Traditional Chinese translation updated by ChunChang Lo (#16023)
git-svn-id: http://svn.redmine.org/redmine/trunk@12810
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 5 Feb 2014 03:24:22 +0000 (03:24 +0000)]
code format clean up ApplicationHelper#parse_redmine_links
git-svn-id: http://svn.redmine.org/redmine/trunk@12809
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 5 Feb 2014 03:24:07 +0000 (03:24 +0000)]
code format clean up ApplicationHelper#link_to_issue
git-svn-id: http://svn.redmine.org/redmine/trunk@12808
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 5 Feb 2014 00:42:50 +0000 (00:42 +0000)]
use escaped "Can't" constant at ApplicationHelperTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12807
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 5 Feb 2014 00:42:34 +0000 (00:42 +0000)]
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
Toshi MARUYAMA [Tue, 4 Feb 2014 23:52:44 +0000 (23:52 +0000)]
use escaped "Can't" constant at IssueStatusesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12805
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 23:52:28 +0000 (23:52 +0000)]
use escaped "can't" constant at IssueStatusesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12804
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 23:52:12 +0000 (23:52 +0000)]
use escaped "can't" constant at NewsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12803
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 23:51:56 +0000 (23:51 +0000)]
use escaped "can't" constant at ProjectsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12802
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 23:51:39 +0000 (23:51 +0000)]
use escaped "can't" constant at AuthSourcesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12801
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 23:51:23 +0000 (23:51 +0000)]
Rails4: fix "assert_template 'calendar'" fails at CalendarsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12800
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 23:51:07 +0000 (23:51 +0000)]
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
Toshi MARUYAMA [Tue, 4 Feb 2014 23:50:49 +0000 (23:50 +0000)]
Rails4: fix "assert_template 'context_menu'" fails at ContextMenusControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12798
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 23:50:32 +0000 (23:50 +0000)]
code format clean up app/views/projects/settings/_members.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12797
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 23:50:14 +0000 (23:50 +0000)]
code format clean up ProjectsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12796
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 23:49:55 +0000 (23:49 +0000)]
code format clean up AuthSourcesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12795
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 10:07:57 +0000 (10:07 +0000)]
use escaped "Can't" constant at TrackersControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12794
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 10:07:41 +0000 (10:07 +0000)]
define constant of escaped "Can't" for tests
git-svn-id: http://svn.redmine.org/redmine/trunk@12793
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 10:07:19 +0000 (10:07 +0000)]
use escaped "can't" constant at TrackersControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12792
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 10:07:02 +0000 (10:07 +0000)]
Rails4: fix "assert_template 'form'" fails at IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12791
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 10:06:46 +0000 (10:06 +0000)]
replace shoulda context "#subjects" at GanttHelperTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12790
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 10:06:28 +0000 (10:06 +0000)]
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
Toshi MARUYAMA [Tue, 4 Feb 2014 10:06:11 +0000 (10:06 +0000)]
replace shoulda context "#number_of_rows" at GanttHelperTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12788
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 10:05:54 +0000 (10:05 +0000)]
define as private GanttHelperTest helper methods
git-svn-id: http://svn.redmine.org/redmine/trunk@12787
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 07:50:55 +0000 (07:50 +0000)]
replace shoulda context "with workflow privilege" at IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12786
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 07:50:39 +0000 (07:50 +0000)]
replace shoulda context "without workflow privilege" at IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12785
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 07:50:20 +0000 (07:50 +0000)]
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
Toshi MARUYAMA [Tue, 4 Feb 2014 04:41:27 +0000 (04:41 +0000)]
code format clean up escaped "can't" constant
git-svn-id: http://svn.redmine.org/redmine/trunk@12783
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 04:32:37 +0000 (04:32 +0000)]
use escaped "can't" constant at TrackersControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12782
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 04:32:20 +0000 (04:32 +0000)]
use escaped "can't" constant at WikisControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12781
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 04:32:04 +0000 (04:32 +0000)]
define constant of escaped "can't" for tests
git-svn-id: http://svn.redmine.org/redmine/trunk@12780
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 04:31:46 +0000 (04:31 +0000)]
code format clean up TrackersControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12779
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Feb 2014 04:31:29 +0000 (04:31 +0000)]
code format clean up WikisControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12778
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 2 Feb 2014 14:53:16 +0000 (14:53 +0000)]
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
Toshi MARUYAMA [Sun, 2 Feb 2014 13:08:50 +0000 (13:08 +0000)]
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
Toshi MARUYAMA [Sun, 2 Feb 2014 12:20:32 +0000 (12:20 +0000)]
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
Toshi MARUYAMA [Sun, 2 Feb 2014 12:20:16 +0000 (12:20 +0000)]
scm: mercurial: use scmid_for_assert in assert_entries (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12774
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 2 Feb 2014 12:19:59 +0000 (12:19 +0000)]
scm: mercurial: use scmid_for_assert in assert_entry (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12773
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 2 Feb 2014 12:19:42 +0000 (12:19 +0000)]
scm: mercurial: use scmid_for_assert in assert_copied_files (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12772
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 2 Feb 2014 12:19:26 +0000 (12:19 +0000)]
scm: mercurial: add test helper method to switch short or long id (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12771
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 2 Feb 2014 11:41:17 +0000 (11:41 +0000)]
scm: mercurial: split test_parents to sub method (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12770
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 2 Feb 2014 11:41:01 +0000 (11:41 +0000)]
scm: mercurial: split test_copied_files to sub method (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12769
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 2 Feb 2014 11:40:44 +0000 (11:40 +0000)]
scm: mercurial: split test_entries_short_id to sub method (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12768
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 2 Feb 2014 11:40:28 +0000 (11:40 +0000)]
scm: mercurial: split test_entry_short_id to sub method (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12767
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 2 Feb 2014 07:57:02 +0000 (07:57 +0000)]
scm: mercurial: split latest_changesets tag test to sub method (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12766
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 2 Feb 2014 07:56:46 +0000 (07:56 +0000)]
scm: mercurial: split latest_changesets default branch test to sub method (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12765
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 2 Feb 2014 07:56:31 +0000 (07:56 +0000)]
scm: mercurial: split latest_changesets tag test with path or not (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12764
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 2 Feb 2014 06:34:31 +0000 (06:34 +0000)]
scm: mercurial: add latest_changesets "default" branch test (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12763
e93f8b46-1217-0410-a6f0-
8f06a7374b81