diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-04 10:05:54 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-04 10:05:54 +0000 |
commit | 10c6b0e84f0beebe44f09ed316ab5eaa218cb5dd (patch) | |
tree | 37dd584f51b98b645b6552c426359ebd9b00e6dc /test/unit/lib/redmine/helpers | |
parent | cfcdf06f894d27a454183e2cf7b632761a0f9b1c (diff) | |
download | redmine-10c6b0e84f0beebe44f09ed316ab5eaa218cb5dd.tar.gz redmine-10c6b0e84f0beebe44f09ed316ab5eaa218cb5dd.zip |
define as private GanttHelperTest helper methods
git-svn-id: http://svn.redmine.org/redmine/trunk@12787 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/lib/redmine/helpers')
-rw-r--r-- | test/unit/lib/redmine/helpers/gantt_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/lib/redmine/helpers/gantt_test.rb b/test/unit/lib/redmine/helpers/gantt_test.rb index 7d57adc55..7658116e0 100644 --- a/test/unit/lib/redmine/helpers/gantt_test.rb +++ b/test/unit/lib/redmine/helpers/gantt_test.rb @@ -42,6 +42,7 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase def today @today ||= Date.today end + private :today # Creates a Gantt chart for a 4 week span def create_gantt(project=Project.generate!, options={}) @@ -53,6 +54,7 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase @gantt.instance_variable_set('@date_from', options[:date_from] || (today - 14)) @gantt.instance_variable_set('@date_to', options[:date_to] || (today + 14)) end + private :create_gantt context "#number_of_rows" do context "with one project" do |