| 448 | 
  448 | 
  
      test "#line starting marker should appear at the start date" do 
   | 
  | 449 | 
  449 | 
  
        create_gantt 
   | 
  | 450 | 
  450 | 
  
        @output_buffer = @gantt.line(today - 7, today + 7, 30, true, 'line', :format => :html, :zoom => 4) 
   | 
  | 451 | 
   | 
  
        assert_select "div.starting", 1 
   | 
  | 452 | 
  451 | 
  
        assert_select 'div.starting[style*="left:28px"]', 1 
   | 
   | 
  452 | 
  
        @output_buffer = @gantt.line(gantt_start, today + 7, 30, true, 'line', :format => :html, :zoom => 4) 
   | 
   | 
  453 | 
  
        assert_select 'div.starting[style*="left:0px"]', 1 
   | 
  | 453 | 
  454 | 
  
      end 
   | 
  | 454 | 
  455 | 
  
    
   | 
  | 455 | 
  456 | 
  
      test "#line starting marker should not appear if the start date is before gantt start date" do 
   | 
  | ... | ... |  | 
  | 461 | 
  462 | 
  
      test "#line ending marker should appear at the end date" do 
   | 
  | 462 | 
  463 | 
  
        create_gantt 
   | 
  | 463 | 
  464 | 
  
        @output_buffer = @gantt.line(today - 7, today + 7, 30, true, 'line', :format => :html, :zoom => 4) 
   | 
  | 464 | 
   | 
  
        assert_select "div.ending", 1 
   | 
  | 465 | 
  465 | 
  
        assert_select 'div.ending[style*="left:88px"]', 1 
   | 
   | 
  466 | 
  
        @output_buffer = @gantt.line(today - 7, gantt_end, 30, true, 'line', :format => :html, :zoom => 4) 
   | 
   | 
  467 | 
  
        assert_select 'div.ending[style*="left:116px"]', 1 
   | 
  | 466 | 
  468 | 
  
      end 
   | 
  | 467 | 
  469 | 
  
    
   | 
  | 468 | 
  470 | 
  
      test "#line ending marker should not appear if the end date is before gantt start date" do 
   |