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
This commit is contained in:
Toshi MARUYAMA 2012-09-11 02:58:59 +00:00
parent bcd8ce2de2
commit 2461d12388
1 changed files with 0 additions and 4 deletions

View File

@ -411,7 +411,6 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase
context "status content" do context "status content" do
should "appear at the far left, even if it's far in the past" do should "appear at the far left, even if it's far in the past" do
@gantt.instance_variable_set('@date_to', (today - 14)) @gantt.instance_variable_set('@date_to', (today - 14))
@output_buffer = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) @output_buffer = @gantt.line_for_project(@project, {:format => :html, :zoom => 4})
assert_select "div.project.label", /#{@project.name}/ assert_select "div.project.label", /#{@project.name}/
end end
@ -439,7 +438,6 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase
@project.trackers << @tracker @project.trackers << @tracker
@version = Version.generate!(:effective_date => (today - 1)) @version = Version.generate!(:effective_date => (today - 1))
@project.versions << @version @project.versions << @version
@project.issues << Issue.generate!(:fixed_version => @version, @project.issues << Issue.generate!(:fixed_version => @version,
:subject => "gantt#subject_for_version", :subject => "gantt#subject_for_version",
:tracker => @tracker, :tracker => @tracker,
@ -513,7 +511,6 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase
@output_buffer = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) @output_buffer = @gantt.line_for_version(@version, {:format => :html, :zoom => 4})
assert_select "div.version.task_todo[style*=width:58px]", true, @output_buffer assert_select "div.version.task_todo[style*=width:58px]", true, @output_buffer
end end
end end
context "late line" do 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 should "not be the total done width if the chart starts after issue start date" do
create_gantt(@project, :date_from => (today - 5)) create_gantt(@project, :date_from => (today - 5))
@output_buffer = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) @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*=left:0px]", true, @output_buffer
assert_select "div.task_done[style*=width:8px]", true, @output_buffer assert_select "div.task_done[style*=width:8px]", true, @output_buffer