diff --git a/test/unit/lib/redmine/helpers/gantt_test.rb b/test/unit/lib/redmine/helpers/gantt_test.rb index 9083e2880..54b004bde 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