From 10c6b0e84f0beebe44f09ed316ab5eaa218cb5dd Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 4 Feb 2014 10:05:54 +0000 Subject: [PATCH] define as private GanttHelperTest helper methods git-svn-id: http://svn.redmine.org/redmine/trunk@12787 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/lib/redmine/helpers/gantt_test.rb | 2 ++ 1 file changed, 2 insertions(+) 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