From 2461d123884716d0685a13011092b37d925c9dad 2012-09-11 02:58:59 From: Toshi MARUYAMA Date: 2012-09-11 02:58:59 Subject: [PATCH] gantt: remove redundant empty lines from unit gantt helper test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10360 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/lib/redmine/helpers/gantt_test.rb b/test/unit/lib/redmine/helpers/gantt_test.rb index 9083e28..54b004b 100644 --- a/test/unit/lib/redmine/helpers/gantt_test.rb +++ b/test/unit/lib/redmine/helpers/gantt_test.rb @@ -411,7 +411,6 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase context "status content" do should "appear at the far left, even if it's far in the past" do @gantt.instance_variable_set('@date_to', (today - 14)) - @output_buffer = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) assert_select "div.project.label", /#{@project.name}/ end @@ -439,7 +438,6 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase @project.trackers << @tracker @version = Version.generate!(:effective_date => (today - 1)) @project.versions << @version - @project.issues << Issue.generate!(:fixed_version => @version, :subject => "gantt#subject_for_version", :tracker => @tracker, @@ -513,7 +511,6 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase @output_buffer = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) assert_select "div.version.task_todo[style*=width:58px]", true, @output_buffer end - end context "late line" do @@ -692,7 +689,6 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase should "not be the total done width if the chart starts after issue start date" do create_gantt(@project, :date_from => (today - 5)) - @output_buffer = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) assert_select "div.task_done[style*=left:0px]", true, @output_buffer assert_select "div.task_done[style*=width:8px]", true, @output_buffer