@@ -411,7 +411,6 class Redmine::Helpers::GanttHelperTest < ActionView::TestCase | |||
|
411 | 411 | context "status content" do |
|
412 | 412 | should "appear at the far left, even if it's far in the past" do |
|
413 | 413 | @gantt.instance_variable_set('@date_to', (today - 14)) |
|
414 | ||
|
415 | 414 | @output_buffer = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) |
|
416 | 415 | assert_select "div.project.label", /#{@project.name}/ |
|
417 | 416 | end |
@@ -439,7 +438,6 class Redmine::Helpers::GanttHelperTest < ActionView::TestCase | |||
|
439 | 438 | @project.trackers << @tracker |
|
440 | 439 | @version = Version.generate!(:effective_date => (today - 1)) |
|
441 | 440 | @project.versions << @version |
|
442 | ||
|
443 | 441 | @project.issues << Issue.generate!(:fixed_version => @version, |
|
444 | 442 | :subject => "gantt#subject_for_version", |
|
445 | 443 | :tracker => @tracker, |
@@ -513,7 +511,6 class Redmine::Helpers::GanttHelperTest < ActionView::TestCase | |||
|
513 | 511 | @output_buffer = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) |
|
514 | 512 | assert_select "div.version.task_todo[style*=width:58px]", true, @output_buffer |
|
515 | 513 | end |
|
516 | ||
|
517 | 514 | end |
|
518 | 515 | |
|
519 | 516 | context "late line" do |
@@ -692,7 +689,6 class Redmine::Helpers::GanttHelperTest < ActionView::TestCase | |||
|
692 | 689 | |
|
693 | 690 | should "not be the total done width if the chart starts after issue start date" do |
|
694 | 691 | create_gantt(@project, :date_from => (today - 5)) |
|
695 | ||
|
696 | 692 | @output_buffer = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) |
|
697 | 693 | assert_select "div.task_done[style*=left:0px]", true, @output_buffer |
|
698 | 694 | assert_select "div.task_done[style*=width:8px]", true, @output_buffer |
General Comments 0
You need to be logged in to leave comments.
Login now